...

Text file src/github.com/go-openapi/validate/fixtures/validation/fixture-1243-5.json

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

     1{
     2	"swagger":"2.0",
     3	"info":{"title":"Load Balancing Service API","description":"Play with path parameters and checks","version":"20170115"},
     4	"basePath":"/20170115",
     5	"paths":{
     6		"/loadBalancers/{loadBalancerId}/backendSets":{
     7			"get":{
     8				"summary":"ListBackendSets",
     9				"tags":["loadBalancer"],
    10				"description":"Lists all backend sets associated with a given load balancer.",
    11				"operationId":"ListBackendSets",
    12				"parameters":[
    13					{
    14						"name":"loadBalancerId",
    15						"type":"string",
    16                        "in":"path",
    17						"required":true
    18					}
    19				],
    20				"produces":["application/json"],
    21				"responses":{
    22					"200":{
    23						"description":"The list is being retrieved.",
    24						"headers":{
    25							"opc-response-id":{
    26								"description":"Unique identifier for the response.\n",
    27								"type":"string"
    28							}
    29						}
    30					}
    31				}
    32			}
    33		},
    34		"/loadBalancers/{aLotOfLoadBalancerIds}/backendSets":{
    35			"get":{
    36				"summary":"ERROR",
    37				"tags":["loadBalancer"],
    38				"description":"Triggers an invalid spec check",
    39				"operationId":"ListALotOfBackendSets",
    40				"parameters":[
    41					{
    42						"name":"aLotOfLoadBalancerIds",
    43						"type":"string",
    44                        "in":"path",
    45						"required":true
    46					}
    47				],
    48				"produces":[
    49					"application/json"
    50				],
    51				"responses":{
    52					"200":{
    53						"description":"The list is being retrieved.",
    54						"headers":{
    55							"opc-response-id":{
    56								"description":"Unique identifier for the response.\n",
    57								"type":"string"
    58							}
    59						}
    60					}
    61				}
    62			}
    63		},
    64		"/othercheck/{{sid}/warnMe":{
    65			"get":{
    66				"parameters":[
    67					{
    68						"name":"{sid",
    69						"type":"string",
    70                        "in":"path",
    71						"required":true
    72					}
    73				],
    74				"produces":[
    75					"application/json"
    76				],
    77				"responses":{
    78					"200":null
    79				}
    80			}
    81		},
    82		"/othercheck/{sid }/warnMe":{
    83			"get":{
    84				"parameters":[
    85					{
    86						"name":"sid ",
    87                        "in":"path",
    88						"type":"string",
    89						"required":true
    90					}
    91				],
    92				"produces":["application/json"],
    93				"responses":{
    94					"200":null
    95				}
    96			}
    97		},
    98		"/othercheck/{si/d}warnMe":{
    99			"get":{
   100				"parameters":[
   101					{
   102						"name":"sid",
   103						"type":"string",
   104                        "in":"path",
   105						"required":true
   106					}
   107				],
   108				"produces":["application/json"],
   109				"responses":{
   110					"200":null
   111				}
   112			}
   113		}
   114	}
   115}

View as plain text