github.com/rzurga/go-swagger@v0.28.1-0.20211109195225-5d1f453ffa3a/fixtures/bugs/2457/fixture-2457.yaml (about)

     1  swagger: '2.0'
     2  
     3  info:
     4    version: "1.0.0"
     5    title: Private to-do list
     6    description: |
     7      A very simple api description that makes a json only API to submit to do's.
     8  
     9  produces:
    10    - application/json
    11  
    12  consumes:
    13    - application/json
    14  
    15  paths:
    16    /models:
    17      get:
    18        operationId: modelOp
    19        summary: many model variations
    20        description: Used to see if a codegen can render all the possible parameter variations for a header param
    21        tags:
    22          - testcgen
    23        responses:
    24          default:
    25            description: Generic Out
    26  
    27  definitions:
    28    ObjWithCustomTag:
    29      type: object
    30      properties:
    31        customTag:
    32          type: object
    33          x-go-custom-tag: myobjtag:"foo,bar"
    34          properties:
    35            value:
    36              type: string