This fixture is incomplete in terms of implementation. it's meant to be used in unit tests to validate the parsing and classification functionality not really as an application that serves actual requests.
Package classification Petstore API.
the purpose of this application is to provide an application that is using plain go code to define an API
This should demonstrate all the possible comment annotations that are available to turn go code into a fully compliant swagger 2.0 spec
Terms Of Service:
there are no TOS at this moment, use at your own risk we take no responsibility
Schemes: http, https Host: localhost BasePath: /v2 Version: 0.0.1 License: MIT http://opensource.org/licenses/MIT Contact: John Doe<firstname.lastname@example.org> http://john.doe.com Consumes: - application/json - application/xml Produces: - application/json - application/xml Extensions: x-meta-value: value x-meta-array: - value1 - value2 x-meta-array-obj: - name: obj value: field InfoExtensions: x-info-value: value x-info-array: - value1 - value2 x-info-array-obj: - name: obj value: field Security: - api_key: SecurityDefinitions: api_key: type: apiKey name: KEY in: header oauth2: type: oauth2 authorizationUrl: /oauth2/auth tokenUrl: /oauth2/token in: header scopes: bla1: foo1 bla2: foo2 flow: accessCode