github.com/apremalal/vamps-core@v1.0.1-0.20161221121535-d430b56ec174/server/webapps/apieditor/spec-files/echo.yaml (about)

     1  ---
     2  swagger: '2.0'
     3  info:
     4    version: 1.0.0
     5    title: Echo
     6    description: |
     7      #### Echos back every URL, method, parameter and header
     8      Feel free to make a path or an operation and use **Try Operation** to test it. The echo server will
     9      render back everything.
    10  schemes:
    11    - http
    12  host: mazimi-prod.apigee.net
    13  basePath: /echo
    14  paths:
    15    /:
    16      get:
    17        responses:
    18          200:
    19            description: Echo GET
    20      post:
    21        responses:
    22          200:
    23            description: Echo POST
    24        parameters:
    25          - name: name
    26            in: formData
    27            description: name
    28            type: string
    29          - name: year
    30            in: formData
    31            description: year
    32            type: string
    33    /test-path/{id}:
    34      parameters:
    35        - name: id
    36          in: path
    37          description: ID
    38          type: string
    39          required: true
    40      get:
    41        responses:
    42          200:
    43            description: Echo test-path