...

Text file src/github.com/go-openapi/analysis/fixtures/fixer/fixer.yaml

Documentation: github.com/go-openapi/analysis/fixtures/fixer

     1---
     2swagger: '2.0'
     3info:
     4  title: spec fixing of empty descriptions
     5  version: x80.86
     6schemes:
     7  - http
     8  - https
     9basePath: /zorg
    10responses:
    11  someResponse:
    12    description: ''
    13    schema:
    14      type: integer
    15  anotherRespone:
    16    # nil case
    17    #description: ''
    18    schema:
    19      type: integer
    20paths:
    21  /noDesc:
    22    get:
    23      responses:
    24        default:
    25          description: ''
    26          schema:
    27            type: integer
    28        200:
    29          description: ''
    30          schema:
    31            type: integer
    32    put:
    33      responses:
    34        default:
    35          description: ''
    36          schema:
    37            type: integer
    38        200:
    39          description: ''
    40          schema:
    41            type: integer
    42    delete:
    43      responses:
    44        default:
    45          description: ''
    46          schema:
    47            type: integer
    48        200:
    49          description: ''
    50          schema:
    51            type: integer
    52    post:
    53      responses:
    54        default:
    55          description: ''
    56          schema:
    57            type: integer
    58        200:
    59          description: ''
    60          schema:
    61            type: integer
    62    options:
    63      responses:
    64        default:
    65          description: ''
    66          schema:
    67            type: integer
    68        200:
    69          description: ''
    70          schema:
    71            type: integer
    72    patch:
    73      responses:
    74        default:
    75          description: ''
    76          schema:
    77            type: integer
    78        200:
    79          description: ''
    80          schema:
    81            type: integer
    82    head:
    83      responses:
    84        default:
    85          description: ''
    86          schema:
    87            type: integer
    88        200:
    89          description: ''
    90          schema:
    91            type: integer
    92  /withDesc:
    93    get:
    94      responses:
    95        default:
    96          description: 'my description'
    97          schema:
    98            type: integer
    99        200:
   100          description: 'my description'
   101          schema:
   102            type: integer
   103    put:
   104      responses:
   105        default:
   106          description: 'my description'
   107          schema:
   108            type: integer
   109        200:
   110          description: 'my description'
   111          schema:
   112            type: integer
   113    delete:
   114      responses:
   115        default:
   116          description: 'my description'
   117          schema:
   118            type: integer
   119        200:
   120          description: 'my description'
   121          schema:
   122            type: integer
   123    post:
   124      responses:
   125        default:
   126          description: 'my description'
   127          schema:
   128            type: integer
   129        200:
   130          description: 'my description'
   131          schema:
   132            type: integer
   133    options:
   134      responses:
   135        default:
   136          description: 'my description'
   137          schema:
   138            type: integer
   139        200:
   140          description: 'my description'
   141          schema:
   142            type: integer
   143    patch:
   144      responses:
   145        default:
   146          description: 'my description'
   147          schema:
   148            type: integer
   149        200:
   150          description: 'my description'
   151          schema:
   152            type: integer
   153    head:
   154      responses:
   155        default:
   156          description: 'my description'
   157          schema:
   158            type: integer
   159        200:
   160          description: 'my description'
   161          schema:
   162            type: integer
   163        300:
   164          $ref: '#/somewhere/inspace'

View as plain text