classification

package
v0.0.0-...-deb7403 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

README

classification example

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.

Documentation

Overview

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<john.doe@example.com> 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

swagger:meta

Directories

Path Synopsis
transitive

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL