Files
swagger-ui/build/index.html
2012-03-19 09:57:38 -04:00

7.6 KiB

<html> <head> <script src='javascripts/app.js' type='text/javascript'></script> <script src='javascripts/swagger-service.js' type='text/javascript'></script> <script src='javascripts/swagger-ui.js' type='text/javascript'></script> </head>
    <script type="text/x-jquery-tmpl" id="resourceTemplate">
    • </script> <script type="text/x-jquery-tmpl" id="apiTemplate">
      • </script> <script type="text/x-jquery-tmpl" id="operationTemplate">
      • {{if notes}}

        Implementation Notes

        ${notes}

        {{/if}}

        Parameters

        Parameter Value Description

        Request URL

        Response Body

        Response Code

        Response Headers

      • </script> <script type="text/x-jquery-tmpl" id="paramTemplate"> ${name} ${description} </script> <script type="text/x-jquery-tmpl" id="paramTemplateSelect"> ${name} {{if required == false }} {{/if}} {{each allowableValues.values}} {{if $value == defaultValue && required == true }} ${$value} {{else}} ${$value} {{/if}} {{/each}} ${description} </script> <script type="text/x-jquery-tmpl" id="paramTemplateRequired"> ${name} ${description} </script> <script type="text/x-jquery-tmpl" id="paramTemplateRequiredReadOnly"> ${name} - ${description} </script> <script type="text/x-jquery-tmpl" id="paramTemplateReadOnly"> ${name} - ${description} </script>
        Enter the base URL of the API that you wish to explore, or try petstore.swagger.wordnik.com/api/resources.json

        Sexy API documentation from Swagger.

        </html>