1+ openapi : 3.1.0
2+ info :
3+ title : MarketDataAPI.com - Shared Responses
4+ version : ' 1'
5+
6+ components :
7+ responses :
8+ BadRequest :
9+ description : Invalid request parameters
10+ content :
11+ application/problem+json :
12+ schema :
13+ $ref : ' ./schemas/error.yaml#/components/schemas/ProblemDetail'
14+ examples :
15+ invalidQuery :
16+ summary : Invalid search query
17+ value :
18+ type : ' https://marketdataapi.com/errors/bad-request'
19+ title : ' Invalid Request Parameters'
20+ status : 400
21+ detail : ' Query parameter '' q'' must be at least 1 character long'
22+ instance : ' /v1/instruments?q='
23+ code : ' validation/invalid-parameter'
24+
25+ Unauthorized :
26+ description : Authentication failed
27+ content :
28+ application/problem+json :
29+ schema :
30+ $ref : ' ./schemas/error.yaml#/components/schemas/ProblemDetail'
31+
32+ TooManyRequests :
33+ description : Rate limit exceeded
34+ content :
35+ application/problem+json :
36+ schema :
37+ $ref : ' ./schemas/error.yaml#/components/schemas/ProblemDetail'
38+
39+ PaymentRequired :
40+ description : Subscription required for this endpoint
41+ content :
42+ application/problem+json :
43+ schema :
44+ $ref : ' ./schemas/error.yaml#/components/schemas/ProblemDetail'
45+
46+ Forbidden :
47+ description : Authenticated but forbidden
48+ content :
49+ application/problem+json :
50+ schema :
51+ $ref : ' ./schemas/error.yaml#/components/schemas/ProblemDetail'
52+
53+ NotFound :
54+ description : Resource not found
55+ content :
56+ application/problem+json :
57+ schema :
58+ $ref : ' ./schemas/error.yaml#/components/schemas/ProblemDetail'
59+
60+ InternalServerError :
61+ description : Unexpected server error
62+ content :
63+ application/problem+json :
64+ schema :
65+ $ref : ' ./schemas/error.yaml#/components/schemas/ProblemDetail'
66+
67+ NotModified :
68+ description : Not Modified - data hasn't changed since last request
69+ headers :
70+ X-Rate-Limit-Limit :
71+ $ref : ' ./headers/rate-limit.yaml#/components/headers/RateLimitLimit'
72+ X-Rate-Limit-Remaining :
73+ $ref : ' ./headers/rate-limit.yaml#/components/headers/RateLimitRemaining'
74+ X-Rate-Limit-Reset :
75+ $ref : ' ./headers/rate-limit.yaml#/components/headers/RateLimitReset'
76+ X-Rate-Limit-Policy :
77+ $ref : ' ./headers/rate-limit.yaml#/components/headers/RateLimitPolicy'
78+ Cache-Control :
79+ $ref : ' ./headers/cache.yaml#/components/headers/CacheControl'
80+ ETag :
81+ $ref : ' ./headers/cache.yaml#/components/headers/ETag'
82+ Last-Modified :
83+ $ref : ' ./headers/cache.yaml#/components/headers/LastModified'
0 commit comments