@api-client/core 0.8.1 → 0.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (210) hide show
  1. package/build/browser.d.ts +3 -3
  2. package/build/browser.js.map +1 -1
  3. package/build/index.d.ts +3 -3
  4. package/build/index.js.map +1 -1
  5. package/build/oauth-popup.html +29 -0
  6. package/build/src/amf/AmfShapeGenerator.d.ts +2 -0
  7. package/build/src/amf/AmfShapeGenerator.js +2 -0
  8. package/build/src/amf/AmfShapeGenerator.js.map +1 -1
  9. package/build/src/amf/ApiSchemaValues.d.ts +4 -4
  10. package/build/src/amf/ApiSchemaValues.js.map +1 -1
  11. package/build/src/amf/Utils.js +3 -1
  12. package/build/src/amf/Utils.js.map +1 -1
  13. package/build/src/amf/data-node/XmlDataNodeGenerator.js +2 -1
  14. package/build/src/amf/data-node/XmlDataNodeGenerator.js.map +1 -1
  15. package/build/src/amf/shape/ShapeBase.d.ts +1 -1
  16. package/build/src/amf/shape/ShapeJsonSchemaGenerator.js +4 -2
  17. package/build/src/amf/shape/ShapeJsonSchemaGenerator.js.map +1 -1
  18. package/build/src/amf/shape/ShapeXmlSchemaGenerator.d.ts +13 -13
  19. package/build/src/amf/shape/ShapeXmlSchemaGenerator.js +25 -7
  20. package/build/src/amf/shape/ShapeXmlSchemaGenerator.js.map +1 -1
  21. package/build/src/authorization/OAuth2Authorization.d.ts +4 -4
  22. package/build/src/authorization/OAuth2Authorization.js +7 -7
  23. package/build/src/authorization/OAuth2Authorization.js.map +1 -1
  24. package/build/src/authorization/OidcAuthorization.js +0 -1
  25. package/build/src/authorization/OidcAuthorization.js.map +1 -1
  26. package/build/src/data/XmlReader.js +2 -0
  27. package/build/src/data/XmlReader.js.map +1 -1
  28. package/build/src/events/CustomEvent.d.ts +1 -1
  29. package/build/src/events/CustomEvent.js +1 -1
  30. package/build/src/lib/logging/DefaultLogger.js +1 -0
  31. package/build/src/lib/logging/DefaultLogger.js.map +1 -1
  32. package/build/src/lib/parsers/UriTemplate.js +1 -1
  33. package/build/src/lib/parsers/UrlEncoder.js +1 -0
  34. package/build/src/lib/parsers/UrlEncoder.js.map +1 -1
  35. package/build/src/mocking/LegacyInterfaces.d.ts +1 -2
  36. package/build/src/mocking/LegacyMock.js +0 -1
  37. package/build/src/mocking/LegacyMock.js.map +1 -1
  38. package/build/src/mocking/legacy/Http.js +1 -1
  39. package/build/src/mocking/legacy/Http.js.map +1 -1
  40. package/build/src/models/data/DataNamespace.d.ts +0 -1
  41. package/build/src/models/data/DataNamespace.js +1 -1
  42. package/build/src/models/data/DataNamespace.js.map +1 -1
  43. package/build/src/models/store/Permission.js.map +1 -1
  44. package/build/src/models/transformers/ArcLegacyTransformer.js +1 -0
  45. package/build/src/models/transformers/ArcLegacyTransformer.js.map +1 -1
  46. package/build/src/models/transformers/PostmanV21Transformer.d.ts +1 -2
  47. package/build/src/models/transformers/PostmanV21Transformer.js +2 -0
  48. package/build/src/models/transformers/PostmanV21Transformer.js.map +1 -1
  49. package/build/src/models/transformers/PostmanV2Transformer.js +2 -0
  50. package/build/src/models/transformers/PostmanV2Transformer.js.map +1 -1
  51. package/build/src/runtime/store/AuthSdk.js +1 -0
  52. package/build/src/runtime/store/AuthSdk.js.map +1 -1
  53. package/build/src/runtime/store/SdkBase.js.map +1 -1
  54. package/build/src/testing/TestCliHelper.js.map +1 -1
  55. package/data/apis/APIC-187/APIC-187.raml +21 -0
  56. package/data/apis/APIC-187/dataType.raml +132 -0
  57. package/data/apis/APIC-187/example.raml +84 -0
  58. package/data/apis/APIC-188/APIC-188.raml +21 -0
  59. package/data/apis/APIC-188/dataType.raml +132 -0
  60. package/data/apis/APIC-188/example.raml +84 -0
  61. package/data/apis/APIC-233/APIC-233.raml +15 -0
  62. package/data/apis/APIC-391/APIC-391.raml +44 -0
  63. package/data/apis/APIC-391/examples/post-body-request-example.raml +7 -0
  64. package/data/apis/APIC-483/APIC-483.raml +16 -0
  65. package/data/apis/APIC-483/example/list-of-bank-succ.json +32 -0
  66. package/data/apis/APIC-483/schema/response-retrieve-list-bank.json +68 -0
  67. package/data/apis/APIC-487/APIC-487.raml +36 -0
  68. package/data/apis/APIC-655/APIC-655.raml +44 -0
  69. package/data/apis/APIC-655/delivery.json +12 -0
  70. package/data/apis/APIC-689/APIC-689.raml +20 -0
  71. package/data/apis/APIC-690/APIC-690.raml +17 -0
  72. package/data/apis/APIC-690/datatypes/Address.raml +10 -0
  73. package/data/apis/APIC-690/datatypes/Customer.raml +17 -0
  74. package/data/apis/APIC-690/examples/CustomerExample2.raml +17 -0
  75. package/data/apis/APIC-690/examples/CustomersExample.raml +34 -0
  76. package/data/apis/SE-10469/Purchase-Order-oagis-id-dd32f9c6c01048a19e15c423c9c741ae.json +1383 -0
  77. package/data/apis/SE-10469/SE-10469.raml +11 -0
  78. package/data/apis/SE-13092/Examples/PersonExample.raml +7 -0
  79. package/data/apis/SE-13092/SE-13092.raml +37 -0
  80. package/data/apis/SE-13092/datatypes/Address.raml +5 -0
  81. package/data/apis/SE-13092/datatypes/InlineType.raml +5 -0
  82. package/data/apis/SE-13092/datatypes/Person.raml +15 -0
  83. package/data/apis/SE-22063/SE-22063.raml +14 -0
  84. package/data/apis/SE-22063/stock.raml +41 -0
  85. package/data/apis/arc-demo-api/arc-demo-api.raml +468 -0
  86. package/data/apis/arc-demo-api/examples/e400.xml +4 -0
  87. package/data/apis/arc-demo-api/examples/e401.xml +4 -0
  88. package/data/apis/arc-demo-api/examples/e404.xml +4 -0
  89. package/data/apis/arc-demo-api/examples/image.xml +5 -0
  90. package/data/apis/arc-demo-api/examples/messages-example.json +22 -0
  91. package/data/apis/arc-demo-api/examples/messages-sent-example.json +15 -0
  92. package/data/apis/arc-demo-api/examples/person.json +14 -0
  93. package/data/apis/arc-demo-api/examples/person.url.encoded +1 -0
  94. package/data/apis/arc-demo-api/examples/person.xml +14 -0
  95. package/data/apis/arc-demo-api/examples/product.xml +9 -0
  96. package/data/apis/arc-demo-api/library.raml +36 -0
  97. package/data/apis/arc-demo-api/resourceTypes/app-person.raml +49 -0
  98. package/data/apis/arc-demo-api/resourceTypes/example-types.raml +45 -0
  99. package/data/apis/arc-demo-api/resourceTypes/image.raml +23 -0
  100. package/data/apis/arc-demo-api/resourceTypes/message-sent-type.raml +23 -0
  101. package/data/apis/arc-demo-api/resourceTypes/message-type.raml +33 -0
  102. package/data/apis/arc-demo-api/resourceTypes/product.raml +52 -0
  103. package/data/apis/arc-demo-api/resourceTypes/resource.raml +11 -0
  104. package/data/apis/arc-demo-api/schemas/error-response.xsd +11 -0
  105. package/data/apis/arc-demo-api/schemas/image.xsd +11 -0
  106. package/data/apis/arc-demo-api/schemas/person.json +104 -0
  107. package/data/apis/arc-demo-api/schemas/person.xsd +26 -0
  108. package/data/apis/arc-demo-api/schemas/product.xsd +17 -0
  109. package/data/apis/arc-demo-api/securitySchemes/basic.raml +5 -0
  110. package/data/apis/arc-demo-api/securitySchemes/oauth_2_0.raml +29 -0
  111. package/data/apis/arc-demo-api/securitySchemes/x-custom.raml +26 -0
  112. package/data/apis/arc-demo-api/traits/adminable.raml +23 -0
  113. package/data/apis/arc-demo-api/traits/pagination.raml +83 -0
  114. package/data/apis/arc-demo-api/traits/rate-limited.raml +9 -0
  115. package/data/apis/example-generator-api/contact-email-example.raml +6 -0
  116. package/data/apis/example-generator-api/contact-example.raml +5 -0
  117. package/data/apis/example-generator-api/contact-fax-example.raml +5 -0
  118. package/data/apis/example-generator-api/contact-website-example.raml +2 -0
  119. package/data/apis/example-generator-api/example-1.raml +6 -0
  120. package/data/apis/example-generator-api/example-2.raml +9 -0
  121. package/data/apis/example-generator-api/example-3.raml +4 -0
  122. package/data/apis/example-generator-api/example-4.raml +2 -0
  123. package/data/apis/example-generator-api/example-5.raml +4 -0
  124. package/data/apis/example-generator-api/example-6.raml +2 -0
  125. package/data/apis/example-generator-api/example-7.raml +5 -0
  126. package/data/apis/example-generator-api/example-generator-api.raml +423 -0
  127. package/data/apis/example-generator-api/example.json +14 -0
  128. package/data/apis/example-generator-api/example.xml +15 -0
  129. package/data/apis/example-generator-api/example.xsd +26 -0
  130. package/data/apis/example-generator-api/examples/employee.raml +7 -0
  131. package/data/apis/example-generator-api/examples/employees.raml +7 -0
  132. package/data/apis/example-generator-api/linked-named-example.raml +21 -0
  133. package/data/apis/example-generator-api/named-example-with-link.raml +5 -0
  134. package/data/apis/example-generator-api/named-example.raml +9 -0
  135. package/data/apis/example-generator-api/user-json-example.raml +17 -0
  136. package/data/apis/example-generator-api/user-raml-example.raml +37 -0
  137. package/data/apis/example-generator-api/user.json +8 -0
  138. package/data/apis/example-generator-api/user.raml +18 -0
  139. package/data/apis/example-generator-api/users-json-example.raml +17 -0
  140. package/data/apis/example-generator-api/users-raml-example.raml +32 -0
  141. package/data/apis/example-generator-api/users.json +8 -0
  142. package/data/apis/oas-3-api/oas-3-api.yaml +356 -0
  143. package/data/apis/petstore/petstore.yaml +954 -0
  144. package/data/apis/schema-api/schema-api.raml +13 -1
  145. package/data/apis/secured-api/oauth-2-custom-settings.raml +143 -0
  146. package/data/apis/secured-api/oauth2-header-delivery.raml +13 -0
  147. package/data/apis/secured-api/oauth2-no-delivery.raml +8 -0
  148. package/data/apis/secured-api/oauth2-no-grants.raml +12 -0
  149. package/data/apis/secured-api/oauth2-pkce.raml +13 -0
  150. package/data/apis/secured-api/oauth2-query-delivery.raml +13 -0
  151. package/data/apis/secured-api/oauth_1_0.raml +8 -0
  152. package/data/apis/secured-api/oauth_1_0_no-settings.raml +3 -0
  153. package/data/apis/secured-api/oauth_1_0_no-signature.raml +7 -0
  154. package/data/apis/secured-api/oauth_1_0_signature.raml +8 -0
  155. package/data/apis/secured-api/passthrough-querystring.raml +16 -0
  156. package/data/apis/secured-api/passthrough.raml +24 -0
  157. package/data/apis/secured-api/secured-api.raml +231 -0
  158. package/data/apis/secured-api/x-custom.raml +33 -0
  159. package/data/apis/secured-api/x-other.raml +29 -0
  160. package/data/apis/secured-api/x-query-string.raml +16 -0
  161. package/data/apis/tracked-examples/datatypes/employee.raml +5 -0
  162. package/data/apis/tracked-examples/examples/employee.raml +4 -0
  163. package/data/apis/tracked-examples/examples/employees.raml +8 -0
  164. package/data/apis/tracked-examples/tracked-to-linked.raml +28 -0
  165. package/data/model.js +19 -0
  166. package/data/models/APIC-187.json +11398 -0
  167. package/data/models/APIC-188.json +11398 -0
  168. package/data/models/APIC-233.json +539 -0
  169. package/data/models/APIC-391.json +1872 -0
  170. package/data/models/APIC-483.json +3067 -0
  171. package/data/models/APIC-487.json +1225 -0
  172. package/data/models/APIC-655.json +3109 -0
  173. package/data/models/APIC-689.json +761 -0
  174. package/data/models/APIC-690.json +5992 -0
  175. package/data/models/SE-10469.json +22882 -0
  176. package/data/models/SE-13092.json +2715 -0
  177. package/data/models/SE-22063.json +2276 -0
  178. package/data/models/arc-demo-api.json +52694 -0
  179. package/data/models/example-generator-api.json +44978 -0
  180. package/data/models/oas-3-api.json +10464 -0
  181. package/data/models/petstore.json +27277 -0
  182. package/data/models/schema-api.json +436 -428
  183. package/data/models/secured-api.json +19067 -0
  184. package/data/models/tracked-to-linked.json +1790 -0
  185. package/package.json +6 -5
  186. package/src/amf/AmfShapeGenerator.ts +5 -3
  187. package/src/amf/ApiSchemaValues.ts +5 -5
  188. package/src/amf/Utils.ts +6 -4
  189. package/src/amf/data-node/XmlDataNodeGenerator.ts +2 -1
  190. package/src/amf/shape/ShapeBase.ts +1 -1
  191. package/src/amf/shape/ShapeJsonSchemaGenerator.ts +4 -2
  192. package/src/amf/shape/ShapeXmlSchemaGenerator.ts +85 -66
  193. package/src/authorization/OAuth2Authorization.ts +33 -32
  194. package/src/authorization/OidcAuthorization.ts +3 -4
  195. package/src/data/XmlReader.ts +7 -5
  196. package/src/events/CustomEvent.ts +1 -1
  197. package/src/lib/logging/DefaultLogger.ts +1 -0
  198. package/src/lib/parsers/UriTemplate.ts +1 -1
  199. package/src/lib/parsers/UrlEncoder.ts +1 -0
  200. package/src/mocking/LegacyInterfaces.ts +1 -2
  201. package/src/mocking/LegacyMock.ts +0 -1
  202. package/src/mocking/legacy/Http.ts +1 -1
  203. package/src/models/data/DataNamespace.ts +2 -2
  204. package/src/models/store/Permission.ts +1 -1
  205. package/src/models/transformers/ArcLegacyTransformer.ts +1 -0
  206. package/src/models/transformers/PostmanV21Transformer.ts +3 -2
  207. package/src/models/transformers/PostmanV2Transformer.ts +2 -0
  208. package/src/runtime/store/AuthSdk.ts +1 -0
  209. package/src/runtime/store/SdkBase.ts +1 -0
  210. package/src/testing/TestCliHelper.ts +1 -0
@@ -0,0 +1,17 @@
1
+ #%RAML 1.0 DataType
2
+ type: object
3
+ displayName: User
4
+ properties:
5
+ id:
6
+ displayName: Id
7
+ username:
8
+ displayName: Username
9
+ firstName:
10
+ displayName: First Name
11
+ lastName:
12
+ displayName: Last Name
13
+ profilePhoto:
14
+ displayName: Profile photo
15
+ email:
16
+ displayName: Email
17
+ example: !include users.json
@@ -0,0 +1,32 @@
1
+ #%RAML 1.0 DataType
2
+ type: array
3
+ displayName: Users
4
+ items:
5
+ properties:
6
+ id:
7
+ displayName: Id
8
+ username:
9
+ displayName: Username
10
+ firstName:
11
+ displayName: First Name
12
+ lastName:
13
+ displayName: Last Name
14
+ profilePhoto:
15
+ displayName: Profile photo
16
+ email:
17
+ displayName: Email
18
+ examples:
19
+ User 1:
20
+ id: uid1
21
+ username: ppsztyc
22
+ firstName: Pawel
23
+ lastName: Psztyc
24
+ profilePhoto: https://img/domain.com/ppsztyc
25
+ email: ppsztyc@domain.com
26
+ User 2:
27
+ id: uid2
28
+ username: jdoe
29
+ firstName: John
30
+ lastName: Does
31
+ profilePhoto: https://img/domain.com/jdoe
32
+ email: jdoe@domain.com
@@ -0,0 +1,8 @@
1
+ [{
2
+ "id": "4b8c4ccd-c8fd-49ff-aa97-cf434d9d4e97",
3
+ "username": "char",
4
+ "firstName": "Charlie",
5
+ "lastName": "Brown",
6
+ "profilePhoto": "http://my-photos.com/char.jpg",
7
+ "email": "char@wash.com"
8
+ }]
@@ -0,0 +1,356 @@
1
+ openapi: '3.0.2'
2
+ info:
3
+ title: Servers demo API
4
+ version: '1.0'
5
+ description: Test API for testing AMF service
6
+ termsOfService: http://example.com/terms/
7
+ contact:
8
+ name: API Support
9
+ url: http://www.example.com/support
10
+ email: support@example.com
11
+ license:
12
+ name: Apache 2.0
13
+ url: https://www.apache.org/licenses/LICENSE-2.0.html
14
+
15
+ servers:
16
+ - url: https://development.gigantic-server.com/v1
17
+ description: Development server
18
+ - url: https://staging.gigantic-server.com/v1
19
+ description: Staging server
20
+ - url: https://api.gigantic-server.com/v1
21
+ description: Production server
22
+ - url: https://{username}.gigantic-server.com:{port}/{basePath}
23
+ description: The production API server
24
+ variables:
25
+ username:
26
+ default: demo
27
+ description: this value is assigned by the service provider, in this example `gigantic-server.com`
28
+ port:
29
+ enum:
30
+ - '8443'
31
+ - '443'
32
+ default: '8443'
33
+ basePath:
34
+ default: v2
35
+
36
+ components:
37
+ schemas:
38
+ GeneralError:
39
+ type: object
40
+ properties:
41
+ code:
42
+ type: integer
43
+ format: int32
44
+ message:
45
+ type: string
46
+ Category:
47
+ type: object
48
+ properties:
49
+ id:
50
+ type: integer
51
+ format: int64
52
+ name:
53
+ type: string
54
+ Tag:
55
+ type: object
56
+ properties:
57
+ id:
58
+ type: integer
59
+ format: int64
60
+ name:
61
+ type: string
62
+ Article:
63
+ description: Representation of an article with title and body in CommonMark format.
64
+ type: object
65
+ properties:
66
+ id:
67
+ type: string
68
+ description: The unique ID of this article, generated by the API implementation upon creation of the article.
69
+ readOnly: true
70
+ title:
71
+ description: The title of the article, in CommonMark format.
72
+ type: string
73
+ minLength: 3
74
+ parameters:
75
+ skipParam:
76
+ name: skip
77
+ in: query
78
+ description: number of items to skip
79
+ required: true
80
+ schema:
81
+ type: integer
82
+ format: int32
83
+ limitParam:
84
+ name: limit
85
+ in: query
86
+ description: max records to return
87
+ required: true
88
+ schema:
89
+ type: integer
90
+ format: int32
91
+ responses:
92
+ NotFound:
93
+ description: Entity not found.
94
+ IllegalInput:
95
+ description: Illegal input for operation.
96
+ GeneralError:
97
+ description: General Error
98
+ content:
99
+ application/json:
100
+ schema:
101
+ $ref: '#/components/schemas/GeneralError'
102
+ securitySchemes:
103
+ api_key:
104
+ type: apiKey
105
+ name: api_key
106
+ in: header
107
+ petstore_auth:
108
+ type: oauth2
109
+ flows:
110
+ implicit:
111
+ authorizationUrl: http://example.org/api/oauth/dialog
112
+ refreshUrl: http://example.org/api/refresh
113
+ scopes:
114
+ write:pets: modify pets in your account
115
+ read:pets: read your pets
116
+
117
+ BasicAuth:
118
+ type: http
119
+ scheme: basic
120
+ description: A basic HTTP scheme
121
+
122
+ BearerAuth:
123
+ type: http
124
+ scheme: bearer
125
+ bearerFormat: JWT
126
+ description: Bearer form of authentication
127
+
128
+ ApiKeyAuth:
129
+ type: apiKey
130
+ in: header
131
+ name: X-API-Key
132
+ description: Using API keys
133
+
134
+ ApiKeyQuery:
135
+ type: apiKey
136
+ in: query
137
+ name: X-API-Key
138
+ description: API Key in a query parameter
139
+
140
+ OpenID:
141
+ type: openIdConnect
142
+ openIdConnectUrl: https://example.com/.well-known/openid-configuration
143
+ description: Using OpenId
144
+
145
+ OAuth2:
146
+ type: oauth2
147
+ flows:
148
+ authorizationCode:
149
+ authorizationUrl: https://example.com/oauth/authorize
150
+ tokenUrl: https://example.com/oauth/token
151
+ refreshUrl: http://example.org/api/refresh
152
+ scopes:
153
+ read: Grants read access
154
+ write: Grants write access
155
+ admin: Grants access to admin operations
156
+ clientCredentials:
157
+ tokenUrl: https://example.com/oauth/token
158
+ refreshUrl: http://example.org/api/refresh
159
+ scopes:
160
+ read: Grants read access
161
+ password:
162
+ tokenUrl: http://example.org/api/token
163
+ scopes:
164
+ write: Grants write access
165
+ description: An oauth configuration.
166
+
167
+ cookieAuth:
168
+ type: apiKey
169
+ in: cookie
170
+ name: JSESSIONID
171
+
172
+ paths:
173
+ /pets:
174
+ get:
175
+ description: Returns all pets from the system that the user has access to
176
+ summary: Find all pets
177
+ operationId: listPets
178
+ tags:
179
+ - pet
180
+ security:
181
+ - petstore_auth:
182
+ - write:pets
183
+ - read:pets
184
+ responses:
185
+ '200':
186
+ description: A list of pets.
187
+ content:
188
+ application/json:
189
+ schema:
190
+ type: array
191
+ items:
192
+ $ref: '#/components/schemas/Category'
193
+ /default:
194
+ description: A default path to the API
195
+ get:
196
+ summary: "A get method"
197
+ responses:
198
+ '200':
199
+ description: Successful response
200
+ post:
201
+ summary: Add something
202
+ requestBody:
203
+ content: # Response body
204
+ application/json: # Media type
205
+ schema:
206
+ $ref: "#/components/schemas/Article"
207
+ responses:
208
+ '201':
209
+ description: Successful creation
210
+ content:
211
+ appliication/json:
212
+ schema:
213
+ allOf:
214
+ - $ref: "#/components/schemas/Article"
215
+ - type: object
216
+ properties:
217
+ description:
218
+ type: string
219
+ /securityCombo:
220
+ get:
221
+ security:
222
+ - petstore_auth:
223
+ - write:pets
224
+ - api_key: []
225
+ - OpenID: []
226
+ - OAuth2:
227
+ - read
228
+ - cookieAuth: []
229
+ responses:
230
+ '200':
231
+ description: All security
232
+ content:
233
+ application/json:
234
+ schema:
235
+ type: string
236
+ /subscribe:
237
+ post:
238
+ operationId: subscribe
239
+ summary: Subscribe to a webhook
240
+ requestBody:
241
+ required: true
242
+ content:
243
+ application/json:
244
+ schema:
245
+ type: object
246
+ properties:
247
+ callbackUrl:
248
+ type: string
249
+ format: uri
250
+ example: https://myserver.com/send/callback/here
251
+ inProgressUrl:
252
+ type: string
253
+ failedUrl:
254
+ type: string
255
+ successUrl:
256
+ type: string
257
+ required:
258
+ - callbackUrl
259
+ responses:
260
+ '201':
261
+ description: Webhook created
262
+ callbacks:
263
+ myEvent:
264
+ '{$request.body#/callbackUrl}':
265
+ post:
266
+ requestBody:
267
+ required: true
268
+ content:
269
+ application/json:
270
+ schema:
271
+ type: object
272
+ properties:
273
+ message:
274
+ type: string
275
+ example: Some event happened
276
+ required:
277
+ - message
278
+ responses:
279
+ '200':
280
+ description: Your server returns this code if it accepts the callback
281
+ /oas-properties:
282
+ post:
283
+ externalDocs:
284
+ url: https://docs.com
285
+ description: A doc
286
+ deprecated: true
287
+ tags:
288
+ - "pets"
289
+ - "tests"
290
+ description: A description
291
+ operationId: myId
292
+ requestBody:
293
+ description: A body
294
+ required: false
295
+ content:
296
+ application/x-www-form-urlencoded:
297
+ encoding:
298
+ color:
299
+ style: form
300
+ explode: false
301
+ examples:
302
+ simple:
303
+ value:
304
+ - yellow
305
+ - red
306
+ - pink
307
+ summary: A sample color value
308
+ description: Example of a color value
309
+ schema:
310
+ type: object
311
+ properties:
312
+ color:
313
+ type: array
314
+ items:
315
+ type: string
316
+ responses:
317
+ '200':
318
+ description: OK response
319
+ /http-security:
320
+ get:
321
+ security:
322
+ - BasicAuth: []
323
+ responses:
324
+ '201':
325
+ description: OK
326
+ post:
327
+ security:
328
+ - BearerAuth: []
329
+ responses:
330
+ '201':
331
+ description: OK
332
+ put:
333
+ security:
334
+ - ApiKeyAuth: []
335
+ responses:
336
+ '201':
337
+ description: OK
338
+ patch:
339
+ security:
340
+ - cookieAuth: []
341
+ responses:
342
+ '201':
343
+ description: OK
344
+ options:
345
+ security:
346
+ - ApiKeyQuery: []
347
+ responses:
348
+ '102':
349
+ description: OK
350
+ /open-id:
351
+ get:
352
+ security:
353
+ - OpenID: []
354
+ responses:
355
+ '201':
356
+ description: OK