...

Text file src/github.com/go-openapi/validate/fixtures/go-swagger/bugs/786/swagger.yml

Documentation: github.com/go-openapi/validate/fixtures/go-swagger/bugs/786

     1swagger: '2.0'
     2info:
     3  title: Test API
     4  description: my test
     5  version: "0.1.0"
     6
     7host: test.test.com
     8
     9schemes:
    10  - https
    11
    12basePath: /
    13
    14produces:
    15  - application/json
    16consumes:
    17  - application/json
    18
    19paths:
    20  /:
    21    get:
    22      summary: Find a thing
    23      description: It's acool thing
    24      tags:
    25        - Root
    26      responses:
    27        307:
    28          description: Redirect to a thing.
    29
    30definitions:
    31  MyFirstObject:
    32    type: object
    33    properties:
    34      entree_choice:
    35        type: object
    36        additionalProperties:
    37          type: string
    38          enum:
    39            - Beef
    40            - Vegan

View as plain text