...

Text file src/github.com/go-openapi/validate/fixtures/validation/fixture-1243-2.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      # Missing parameter in path
    18      produces:
    19      - "application/json"
    20      responses:
    21        200:
    22          description: The list is being retrieved.
    23          # fixed that: $ref is forbidden in headers
    24          headers:
    25            opc-response-id:
    26              description: |
    27                Unique identifier for the response.
    28              type: string

View as plain text