github.com/rzurga/go-swagger@v0.28.1-0.20211109195225-5d1f453ffa3a/fixtures/enhancements/2167/swagger.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}/on/{test_region}:
    11      get:
    12        operationId: xGoNameInParams
    13        summary: Says hello
    14        parameters:
    15          - in: path
    16            name: test_name
    17            x-go-name: MyPathName
    18            required: true
    19            type: string
    20          - in: path
    21            name: test_region
    22            required: true
    23            type: string
    24          - in: query
    25            name: test_count
    26            x-go-name: MyQueryCount
    27            required: false
    28            type: integer
    29          - in: query
    30            name: test_limit
    31            required: false
    32            type: integer
    33        responses:
    34          200:
    35            description: A hello world string
    36            schema:
    37              type: string