github.com/thetreep/go-swagger@v0.0.0-20240223100711-35af64f14f01/fixtures/codegen/impl.yml (about)

     1  swagger: '2.0'
     2  info:
     3    description: Test for impl package
     4    version: 0.0.1
     5    title: Test for impl package
     6  schemes:
     7    - http
     8  paths:
     9    /ping:
    10      get:
    11        summary: Ping
    12        description: Ping
    13        consumes:
    14          - application/json
    15        produces:
    16          - application/json
    17        responses:
    18          '200':
    19            description: successful operation
    20            schema:
    21              $ref: '#/definitions/pong'
    22  
    23  definitions:
    24    pong:
    25      type: object
    26      properties:
    27        pong:
    28          type: string