...

Text file src/github.com/go-openapi/validate/fixtures/validation/fixture-1243.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      # error no param defined
    18      produces:
    19      - "application/json"
    20      responses:
    21        200:
    22          # we should not have a forbidden property message here: instead
    23          description: The list is being retrieved.
    24          # $ref is forbidden in headers
    25          headers:
    26            opc-response-id:
    27              $ref: '#/x-descriptions/opc-response-id'
    28
    29x-descriptions:
    30 opc-response-id:
    31    description: |
    32      Unique identifier for the response.
    33    type: string

View as plain text