github.com/thetreep/go-swagger@v0.0.0-20240223100711-35af64f14f01/fixtures/enhancements/2167/swagger-error.yml (about)

     1  swagger: '2.0'
     2  info:
     3    version: 1.0.0
     4    title: Example
     5  schemes:
     6    - http
     7  produces:
     8    - text/plain
     9  paths:
    10    /test/{test_name}:
    11      get:
    12        operationId: xGoNameInParams
    13        summary: Says hello
    14        parameters:
    15          - in: path
    16            name: test_name
    17            x-go-name:
    18              - bad
    19            required: true
    20            type: string
    21        responses:
    22          200:
    23            description: A hello world string
    24            schema:
    25              type: string