...

Text file src/github.com/go-openapi/analysis/fixtures/no-paths.yml

Documentation: github.com/go-openapi/analysis/fixtures

     1---
     2swagger: '2.0'
     3info:
     4  title: no paths API
     5  version: 4.1.7
     6schemes:
     7  - http
     8basePath: /wooble
     9consumes:
    10  - application/json
    11produces:
    12  - application/json
    13paths:
    14definitions:
    15  common:
    16    type: object
    17    required:
    18      - id
    19    properties:
    20      id:
    21        type: string
    22        format: string
    23        minLength: 1
    24parameters:
    25  common:
    26    name: common
    27    in: query
    28    type: string
    29
    30responses:
    31  401:
    32    description: bar unauthorized
    33    schema:
    34      $ref: "#/definitions/error"
    35  404:
    36    description: bar resource not found
    37    schema:
    38      $ref: "#/definitions/error"

View as plain text