...

Text file src/github.com/go-openapi/validate/fixtures/validation/fixture-1243-3.yaml

Documentation: github.com/go-openapi/validate/fixtures/validation

     1---
     2swagger: "2.0"
     3info:
     4  title: "Load Balancing Service API"
     5  description: API for the Load Balancing Service
     6  version: "20170115"
     7
     8basePath: /20170115
     9
    10paths:
    11  /loadBalancers/{loadBalancerId}/backendSets:
    12    get:
    13      summary: "ListBackendSets"
    14      tags: ['loadBalancer']
    15      description: Lists all backend sets associated with a given load balancer.
    16      operationId: "ListBackendSets"
    17      # fixed that: Missing parameter in path
    18      parameters:
    19        - name: loadBalancerId
    20          in: path
    21          type: string
    22          # Ah: should be required
    23      produces:
    24      - "application/json"
    25      responses:
    26        200:
    27          description: The list is being retrieved.
    28          # fix that: $ref is forbidden in headers
    29          headers:
    30            opc-response-id:
    31              description: |
    32                Unique identifier for the response.
    33              type: string

View as plain text