@api-client/core 0.8.2 → 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 (58) hide show
  1. package/data/apis/APIC-483/APIC-483.raml +16 -0
  2. package/data/apis/APIC-483/example/list-of-bank-succ.json +32 -0
  3. package/data/apis/APIC-483/schema/response-retrieve-list-bank.json +68 -0
  4. package/data/apis/arc-demo-api/arc-demo-api.raml +468 -0
  5. package/data/apis/arc-demo-api/examples/e400.xml +4 -0
  6. package/data/apis/arc-demo-api/examples/e401.xml +4 -0
  7. package/data/apis/arc-demo-api/examples/e404.xml +4 -0
  8. package/data/apis/arc-demo-api/examples/image.xml +5 -0
  9. package/data/apis/arc-demo-api/examples/messages-example.json +22 -0
  10. package/data/apis/arc-demo-api/examples/messages-sent-example.json +15 -0
  11. package/data/apis/arc-demo-api/examples/person.json +14 -0
  12. package/data/apis/arc-demo-api/examples/person.url.encoded +1 -0
  13. package/data/apis/arc-demo-api/examples/person.xml +14 -0
  14. package/data/apis/arc-demo-api/examples/product.xml +9 -0
  15. package/data/apis/arc-demo-api/library.raml +36 -0
  16. package/data/apis/arc-demo-api/resourceTypes/app-person.raml +49 -0
  17. package/data/apis/arc-demo-api/resourceTypes/example-types.raml +45 -0
  18. package/data/apis/arc-demo-api/resourceTypes/image.raml +23 -0
  19. package/data/apis/arc-demo-api/resourceTypes/message-sent-type.raml +23 -0
  20. package/data/apis/arc-demo-api/resourceTypes/message-type.raml +33 -0
  21. package/data/apis/arc-demo-api/resourceTypes/product.raml +52 -0
  22. package/data/apis/arc-demo-api/resourceTypes/resource.raml +11 -0
  23. package/data/apis/arc-demo-api/schemas/error-response.xsd +11 -0
  24. package/data/apis/arc-demo-api/schemas/image.xsd +11 -0
  25. package/data/apis/arc-demo-api/schemas/person.json +104 -0
  26. package/data/apis/arc-demo-api/schemas/person.xsd +26 -0
  27. package/data/apis/arc-demo-api/schemas/product.xsd +17 -0
  28. package/data/apis/arc-demo-api/securitySchemes/basic.raml +5 -0
  29. package/data/apis/arc-demo-api/securitySchemes/oauth_2_0.raml +29 -0
  30. package/data/apis/arc-demo-api/securitySchemes/x-custom.raml +26 -0
  31. package/data/apis/arc-demo-api/traits/adminable.raml +23 -0
  32. package/data/apis/arc-demo-api/traits/pagination.raml +83 -0
  33. package/data/apis/arc-demo-api/traits/rate-limited.raml +9 -0
  34. package/data/apis/oas-3-api/oas-3-api.yaml +356 -0
  35. package/data/apis/petstore/petstore.yaml +954 -0
  36. package/data/apis/secured-api/oauth-2-custom-settings.raml +143 -0
  37. package/data/apis/secured-api/oauth2-header-delivery.raml +13 -0
  38. package/data/apis/secured-api/oauth2-no-delivery.raml +8 -0
  39. package/data/apis/secured-api/oauth2-no-grants.raml +12 -0
  40. package/data/apis/secured-api/oauth2-pkce.raml +13 -0
  41. package/data/apis/secured-api/oauth2-query-delivery.raml +13 -0
  42. package/data/apis/secured-api/oauth_1_0.raml +8 -0
  43. package/data/apis/secured-api/oauth_1_0_no-settings.raml +3 -0
  44. package/data/apis/secured-api/oauth_1_0_no-signature.raml +7 -0
  45. package/data/apis/secured-api/oauth_1_0_signature.raml +8 -0
  46. package/data/apis/secured-api/passthrough-querystring.raml +16 -0
  47. package/data/apis/secured-api/passthrough.raml +24 -0
  48. package/data/apis/secured-api/secured-api.raml +231 -0
  49. package/data/apis/secured-api/x-custom.raml +33 -0
  50. package/data/apis/secured-api/x-other.raml +29 -0
  51. package/data/apis/secured-api/x-query-string.raml +16 -0
  52. package/data/model.js +5 -0
  53. package/data/models/APIC-483.json +3067 -0
  54. package/data/models/arc-demo-api.json +52694 -0
  55. package/data/models/oas-3-api.json +10464 -0
  56. package/data/models/petstore.json +27277 -0
  57. package/data/models/secured-api.json +19067 -0
  58. package/package.json +1 -1
@@ -0,0 +1,143 @@
1
+ #%RAML 1.0 AnnotationTypeDeclaration
2
+ displayName: OAuth 2.0 custom settings
3
+ description: |
4
+ OAuth 2.0 allows to extend the specification with custom access token types,
5
+ endpoint parameters, grant types or response types.
6
+ This annotation allows you to annotate the `settings` property of OAuth 2.0
7
+ security scheme type to inform applications about additional settings.
8
+ ## Use case
9
+ Let's say a authorization server requires to send a `resource` query parameter
10
+ with the authorization request. The `resource` parameter can be any string.
11
+ Currently it is impossible to define this property in RAML file.
12
+ Similar if the code exchange request requires to put the `resource` parameter
13
+ into the request body.
14
+ This annotation allows you to define this parameter with the RAML definition
15
+ and place the parameter in the right request.
16
+ ## Annotation Target
17
+ The [annotation target](https://github.com/raml-org/raml-spec/blob/master/versions/raml-10/raml-10.md#annotation-targets)
18
+ for those annotations is `SecuritySchemeSettings`.
19
+ You can only apply it to Security Scheme `settings` property.
20
+ ## Example
21
+ ```yaml
22
+ annotationTypes:
23
+ customSettings: !include oauth-2-custom-settings.raml
24
+ securitySchemes:
25
+ oauth2:
26
+ type: OAuth 2.0
27
+ describedBy:
28
+ headers:
29
+ Authorization:
30
+ example: "Bearer token"
31
+ settings:
32
+ (customSettings):
33
+ authorizationGrants: [custom_grant]
34
+ ignoreDefaultGrants:
35
+ authorizationSettings:
36
+ queryParameters:
37
+ resource:
38
+ type: string
39
+ required: true
40
+ description: |
41
+ A resource ID that defines a domain of authorization.
42
+ headers:
43
+ x-auth-resource:
44
+ type: string
45
+ required: false
46
+ accessTokenSettings:
47
+ body:
48
+ resource:
49
+ type: string
50
+ required: true
51
+ description: |
52
+ A resource ID that defines a domain of authorization.
53
+ accessTokenUri: https://auth.domain.com/authorize
54
+ authorizationUri: https://auth.domain.com/token
55
+ authorizationGrants: [implicit]
56
+ scopes: profile
57
+ ```
58
+ ## API console
59
+ This annotation is recognized and respected by API console.
60
+ allowedTargets: [ SecuritySchemeSettings ]
61
+ properties:
62
+ authorizationSettings:
63
+ description: |
64
+ Settings to be applied to the `authorizationUri` GET request.
65
+ Define any query parameters or headers that are required by your OAuth 2.0
66
+ authorization server implementation.
67
+ This settings can be applied only to `token` and `code` requests
68
+ type: object
69
+ displayName: Authorization settings
70
+ required: false
71
+ properties:
72
+ queryParameters:
73
+ displayName: Authorization query parameters
74
+ description: |
75
+ Query parameters to be applied to the `authorizationUri`.
76
+ Use the same notation as RAML's `queryParameters`.
77
+ If you define a parameter that is already defined in OAuth 2.0 specification
78
+ (RFC6749) it should be ignored by the processor.
79
+ type: object
80
+ required: false
81
+ properties:
82
+ /a-zA-Z0-9\-\_/*:
83
+ type: object
84
+ required: false
85
+ accessTokenSettings:
86
+ displayName: Access token settings
87
+ description: |
88
+ Settings to be applied to the token endpoint POST request.
89
+ Define query parameters, headers or custom body paramaeters that should
90
+ be included into the request.
91
+ Note, as per RFC6749, the request content type is `application/x-www-form-urlencoded`
92
+ and the processor has to always assume this content type.
93
+ type: object
94
+ required: false
95
+ properties:
96
+ queryParameters:
97
+ displayName: Token query parameters
98
+ description: |
99
+ Query parameters to be applied to the `accessTokenUri`.
100
+ Use the same notation as RAML's `queryParameters`.
101
+ OAuth 2.0 specification does not specify any query parameters for this
102
+ type of request.
103
+ type: object
104
+ required: false
105
+ properties:
106
+ /a-zA-Z0-9\-\_/*:
107
+ type: object
108
+ required: false
109
+ headers:
110
+ displayName: Token request headers
111
+ description: |
112
+ Headers to be set on the token request.
113
+ Use the same notation as RAML's `headers`.
114
+ type: object
115
+ required: false
116
+ properties:
117
+ /a-zA-Z0-9\-\_/*:
118
+ type: object
119
+ required: false
120
+ body:
121
+ displayName: Token body parameters
122
+ description: |
123
+ Body parameters to be applied to the `accessTokenUri`.
124
+ Properties will be applied to the default set of OAuth 2.0 token request
125
+ parameters.
126
+ If you define a parameter that is already defined in OAuth 2.0 specification
127
+ (RFC6749) it should be ignored by the processor.
128
+ type: object
129
+ required: false
130
+ authorizationGrants:
131
+ type: string[]
132
+ displayName: Custom authorization grants
133
+ required: false
134
+ description: |
135
+ List of custom authorization granst supported by your OAuth 2.0 server
136
+ ignoreDefaultGrants:
137
+ type: nil
138
+ required: false
139
+ description: |
140
+ If set, the processor should not use any of the `authorizationGrants`
141
+ properties defined in the `settings` and should be replaced by
142
+ `authorizationGrants` defined in this annotation.
143
+ This can be used only if this annotation `authorizationGrants` is set.
@@ -0,0 +1,13 @@
1
+ #%RAML 1.0 SecurityScheme
2
+ type: OAuth 2.0
3
+ displayName: Token delivery described as header parameter only
4
+ settings:
5
+ accessTokenUri: https://header.com/token
6
+ authorizationUri: https://header.com/auth
7
+ authorizationGrants: password
8
+ scopes: [header]
9
+ describedBy:
10
+ headers:
11
+ token:
12
+ type: string
13
+ description: Apply access token as a header here.
@@ -0,0 +1,8 @@
1
+ #%RAML 1.0 SecurityScheme
2
+ type: OAuth 2.0
3
+ displayName: Token delivery described as query parameter only
4
+ settings:
5
+ accessTokenUri: https://token.com
6
+ authorizationUri: https://auth.com
7
+ authorizationGrants: authorization_code
8
+ scopes: [profile, email]
@@ -0,0 +1,12 @@
1
+ #%RAML 1.0 SecurityScheme
2
+ type: OAuth 2.0
3
+ displayName: This OAuth2 has no auth grants!
4
+ settings:
5
+ accessTokenUri: https://token.com
6
+ authorizationUri: https://auth.com
7
+ scopes: [profile, email]
8
+ describedBy:
9
+ queryParameters:
10
+ access_token:
11
+ type: string
12
+ description: Apply access token here.
@@ -0,0 +1,13 @@
1
+ #%RAML 1.0 SecurityScheme
2
+ type: OAuth 2.0
3
+ displayName: This OAuth2 has PKCE annotation
4
+ settings:
5
+ (pkce): true
6
+ accessTokenUri: https://token.com
7
+ authorizationUri: https://auth.com
8
+ scopes: [profile, email]
9
+ describedBy:
10
+ queryParameters:
11
+ access_token:
12
+ type: string
13
+ description: Apply access token here.
@@ -0,0 +1,13 @@
1
+ #%RAML 1.0 SecurityScheme
2
+ type: OAuth 2.0
3
+ displayName: Token delivery described as query parameter only
4
+ settings:
5
+ accessTokenUri: https://query.com/token
6
+ authorizationUri: https://query.com/auth
7
+ authorizationGrants: client_credentials
8
+ scopes: [query]
9
+ describedBy:
10
+ queryParameters:
11
+ access_token:
12
+ type: string
13
+ description: Apply access token as a query here.
@@ -0,0 +1,8 @@
1
+ #%RAML 1.0 SecurityScheme
2
+ type: OAuth 1.0
3
+ description: OAuth 1.0 continues to be supported for all API requests, but OAuth 2.0 is now preferred.
4
+ settings:
5
+ requestTokenUri: http://api.domain.com/oauth1/request_token
6
+ authorizationUri: http://api.domain.com/oauth1/authorize
7
+ tokenCredentialsUri: http://api.domain.com/oauth1/access_token
8
+ signatures: [RSA-SHA1, HMAC-SHA1]
@@ -0,0 +1,3 @@
1
+ #%RAML 1.0 SecurityScheme
2
+ type: OAuth 1.0
3
+ description: This has no settings.
@@ -0,0 +1,7 @@
1
+ #%RAML 1.0 SecurityScheme
2
+ type: OAuth 1.0
3
+ description: OAuth 1.0 continues to be supported for all API requests, but OAuth 2.0 is now preferred.
4
+ settings:
5
+ requestTokenUri: http://api.domain.com/oauth1/request_token
6
+ authorizationUri: http://api.domain.com/oauth1/authorize
7
+ tokenCredentialsUri: http://api.domain.com/oauth1/access_token
@@ -0,0 +1,8 @@
1
+ #%RAML 1.0 SecurityScheme
2
+ type: OAuth 1.0
3
+ description: OAuth 1.0 continues to be supported for all API requests, but OAuth 2.0 is now preferred.
4
+ settings:
5
+ requestTokenUri: http://api.domain.com/oauth1/request_token
6
+ authorizationUri: http://api.domain.com/oauth1/authorize
7
+ tokenCredentialsUri: http://api.domain.com/oauth1/access_token
8
+ signatures: [RSA-SHA1]
@@ -0,0 +1,16 @@
1
+ #%RAML 1.0 SecurityScheme
2
+
3
+ description: |
4
+ This API supports Pass Through Authentication.
5
+ type: Pass Through
6
+ describedBy:
7
+ queryString:
8
+ type: object
9
+ properties:
10
+ queryStringProperty1:
11
+ type: number
12
+ required: true
13
+ queryStringProperty2:
14
+ description: Random string
15
+ type: string
16
+ required: false
@@ -0,0 +1,24 @@
1
+ #%RAML 1.0 SecurityScheme
2
+
3
+ description: |
4
+ This API supports Pass Through Authentication.
5
+ type: Pass Through
6
+ describedBy:
7
+ queryParameters:
8
+ query:
9
+ type: string
10
+ example: my-value
11
+ description: |
12
+ This demonstrates how Pass Through authentication
13
+ works with `api-authorization-method` component.
14
+ debugTokenParam:
15
+ description: Select one of available values to run the request in the debug mode with selected level.
16
+ enum: [Info, Log, Warning, Error, Critical]
17
+ type: string
18
+ required: false
19
+ headers:
20
+ api_key:
21
+ type: string
22
+ pattern: "[0-9a-zA-Z\\.-]+"
23
+ description: |
24
+ This headers has pattern included in the definition.
@@ -0,0 +1,231 @@
1
+ #%RAML 1.0
2
+ title: Authorization Test API
3
+ version: v1
4
+ baseUri: http://api.domain.com/
5
+
6
+ annotationTypes:
7
+ oauth-2-custom-settings: !include oauth-2-custom-settings.raml
8
+
9
+ types:
10
+ apiTokens: # each is optional, not exclusive with anything
11
+ properties:
12
+ userToken: number
13
+ applicationToken?: number
14
+
15
+ securitySchemes:
16
+ basic:
17
+ type: Basic Authentication
18
+ description: |
19
+ This API supports Basic Authentication.
20
+ digest:
21
+ description: |
22
+ This API supports DigestSecurityScheme Authentication.
23
+ type: Digest Authentication
24
+ passthrough: !include passthrough.raml
25
+ passthroughQueryString: !include passthrough-querystring.raml
26
+ custom_scheme:
27
+ description: |
28
+ A custom security scheme for authenticating requests.
29
+ type: x-custom
30
+ displayName: RAML's custom scheme
31
+ describedBy:
32
+ headers:
33
+ SpecialToken:
34
+ description: |
35
+ Used to send a custom token.
36
+ type: string
37
+ queryString:
38
+ type: apiTokens
39
+ examples:
40
+ first:
41
+ value:
42
+ userToken: 1234
43
+ applicationToken: 5678
44
+ second:
45
+ value:
46
+ start: 1239874566
47
+ page-size: 987321456
48
+ responses:
49
+ 401:
50
+ description: |
51
+ Bad token.
52
+ 403:
53
+ custom1: !include x-custom.raml
54
+ custom2: !include x-other.raml
55
+ custom3: !include x-query-string.raml
56
+ oauth2:
57
+ type: OAuth 2.0
58
+ displayName: Regular OAuth 2.0 definition
59
+ settings:
60
+ accessTokenUri: https://token.com
61
+ authorizationUri: https://auth.com
62
+ scopes: [profile, email]
63
+ describedBy:
64
+ queryParameters:
65
+ access_token:
66
+ type: string
67
+ description: Apply access token here.
68
+ headers:
69
+ Authorization:
70
+ type: string
71
+ oauth2grants:
72
+ type: OAuth 2.0
73
+ displayName: OAuth 2 grants security
74
+ settings:
75
+ accessTokenUri: https://token.com
76
+ authorizationUri: https://auth.com
77
+ authorizationGrants: authorization_code
78
+ scopes: [profile, email]
79
+ describedBy:
80
+ queryParameters:
81
+ access_token:
82
+ type: string
83
+ description: Apply access token here.
84
+ headers:
85
+ Authorization:
86
+ type: string
87
+ oauth2Annotation:
88
+ type: OAuth 2.0
89
+ displayName: OAuth 2.0 with annotation
90
+ settings:
91
+ (oauth-2-custom-settings):
92
+ # ignoreDefaultGrants:
93
+ authorizationGrants: [annotated_custom_grant, annotated_custom_grant2]
94
+ authorizationSettings:
95
+ queryParameters:
96
+ resource:
97
+ type: string
98
+ required: true
99
+ description: |
100
+ A resource ID that defines a domain of authorization.
101
+ displayName: Hello query parameeter
102
+ default: default
103
+ examples:
104
+ named: named example value
105
+ otherExample: test example value
106
+ pattern: "[a-zA-Z]+"
107
+ maxLength: 12
108
+ minLength: 3
109
+ numericParam:
110
+ type: number
111
+ minimum: 10
112
+ maximum: 20
113
+ multipleOf: 2
114
+ format: float
115
+ required: false
116
+ example: 22
117
+ dateParam:
118
+ type: date-only
119
+ required: false
120
+ repeatableParam1:
121
+ type: string[]
122
+ required: false
123
+ repetableParam2:
124
+ type: array
125
+ items: integer
126
+ required: false
127
+ accessTokenSettings:
128
+ queryParameters:
129
+ queryTokenResource: string
130
+ detailedTokenResource:
131
+ type: number
132
+ description: some description
133
+ required: false
134
+ headers:
135
+ x-token-resource:
136
+ type: number
137
+ default: 123
138
+ body:
139
+ bodyTokenResource: string
140
+ bodyDetailed:
141
+ type: boolean
142
+ required: true
143
+ displayName: Body detailed property
144
+ default: true
145
+ accessTokenUri: https://token.com
146
+ authorizationUri: https://auth.com
147
+ authorizationGrants: [authorization_code, password, client_credentials, implicit]
148
+ scopes: [profile, email]
149
+ describedBy:
150
+ queryParameters:
151
+ access_token:
152
+ type: string
153
+ description: Apply access token here.
154
+ oauth2queryDelivery: !include oauth2-query-delivery.raml
155
+ oauth2headerDelivery: !include oauth2-header-delivery.raml
156
+ oauth2noDelivery: !include oauth2-no-delivery.raml
157
+ oauth2noGrants: !include oauth2-no-grants.raml
158
+ oauth2pkce: !include oauth2-pkce.raml
159
+ oauth1: !include oauth_1_0.raml
160
+ oauth1signature: !include oauth_1_0_signature.raml
161
+ oauth1noSignature: !include oauth_1_0_no-signature.raml
162
+ oauth1noSettings: !include oauth_1_0_no-settings.raml
163
+ /basic:
164
+ get:
165
+ securedBy: basic
166
+ /digest:
167
+ get:
168
+ securedBy: digest
169
+ /passthrough:
170
+ get:
171
+ securedBy: passthrough
172
+ /passthrough-query-string:
173
+ get:
174
+ securedBy: passthroughQueryString
175
+ /custom-query-string:
176
+ get:
177
+ securedBy: custom_scheme
178
+ /custom1:
179
+ get:
180
+ securedBy: [custom1]
181
+ /custom2:
182
+ get:
183
+ securedBy: [custom2]
184
+ /custom3:
185
+ get:
186
+ securedBy: [custom3]
187
+ /oauth2:
188
+ post:
189
+ securedBy: [oauth2]
190
+ /oauth2-with-annotations:
191
+ get:
192
+ securedBy: [oauth2Annotation]
193
+ /oauth2-with-grant-list:
194
+ get:
195
+ securedBy: [oauth2grants]
196
+ /oauth2-query-delivery:
197
+ get:
198
+ securedBy: [oauth2queryDelivery]
199
+ /oauth2-header-delivery:
200
+ get:
201
+ securedBy: [oauth2headerDelivery]
202
+ /oauth2-no-delivery:
203
+ get:
204
+ securedBy: [oauth2noDelivery]
205
+ /oauth2-no-grants:
206
+ get:
207
+ securedBy: [oauth2noGrants]
208
+ /oauth2-pkce:
209
+ get:
210
+ securedBy: [oauth2pkce]
211
+ /oauth1:
212
+ get:
213
+ securedBy: [oauth1]
214
+ /oauth1-signature:
215
+ get:
216
+ securedBy: [oauth1signature]
217
+ /oauth1-nosignature:
218
+ get:
219
+ securedBy: [oauth1noSignature]
220
+ /oauth1-nosettings:
221
+ get:
222
+ securedBy: [oauth1noSettings]
223
+ /combo-types:
224
+ get:
225
+ securedBy: [basic, digest, passthroughQueryString, custom1, oauth2, oauth1]
226
+ /all-oauth2:
227
+ get:
228
+ securedBy: [oauth2, oauth2Annotation, oauth2grants, oauth2queryDelivery, oauth2headerDelivery, oauth2noDelivery, oauth2noGrants]
229
+ /nil-oauth2:
230
+ get:
231
+ securedBy: [null, oauth2]
@@ -0,0 +1,33 @@
1
+ #%RAML 1.0 SecurityScheme
2
+
3
+ description: |
4
+ A custom security scheme for authenticating requests.
5
+ It allows to set `SpecialToken` header from the authorization panel.
6
+ The same header should be rendered in the headers editor with console using
7
+ RAML JS parser.
8
+ With `AMF` console this is separated information.
9
+ This scheme also sets `debugToken` and `booleanToken` query parameters.
10
+ Both are enums, however `booleanToken` can only have `true` and `false`
11
+ values.
12
+ type: x-my-custom
13
+ describedBy:
14
+ headers:
15
+ SpecialTokenHeader:
16
+ description: |
17
+ Used to send a custom token.
18
+ type: string
19
+ queryParameters:
20
+ debugTokenParam:
21
+ description: Select one of available values to run the request in the debug mode with selected level.
22
+ enum: [Info, Log, Warning, Error, Critical]
23
+ type: string
24
+ required: false
25
+ booleanTokenParam:
26
+ description: Just to test boolean values.
27
+ type: boolean
28
+ default: true
29
+ responses:
30
+ 401:
31
+ description: |
32
+ Bad token.
33
+ 403:
@@ -0,0 +1,29 @@
1
+ #%RAML 1.0 SecurityScheme
2
+
3
+ description: |
4
+ Other custom security method for authorization.
5
+ type: x-custom
6
+ describedBy:
7
+ queryParameters:
8
+ apiUserIdParam:
9
+ description: |
10
+ Your api user ID. Some imaginary value.
11
+ type: number
12
+ required: true
13
+ apiNonceParam:
14
+ description: Random string
15
+ type: string
16
+ responses:
17
+ 401:
18
+ description: |
19
+ Bad token autorization.
20
+ body:
21
+ application/json:
22
+ type: object
23
+ properties:
24
+ error:
25
+ type: boolean
26
+ description: Always true. Indicates that the response is errord.
27
+ message:
28
+ type: string
29
+ description: Human readable message describing the error.
@@ -0,0 +1,16 @@
1
+ #%RAML 1.0 SecurityScheme
2
+
3
+ description: |
4
+ Tests for queryString RAML's property
5
+ type: x-custom
6
+ describedBy:
7
+ queryString:
8
+ type: object
9
+ properties:
10
+ queryStringProperty1:
11
+ type: number
12
+ required: true
13
+ queryStringProperty2:
14
+ description: Random string
15
+ type: string
16
+ required: false
package/data/model.js CHANGED
@@ -46,6 +46,11 @@ config.set('SE-10469/SE-10469.raml', { type: "RAML 1.0" });
46
46
  config.set('SE-13092/SE-13092.raml', { type: 'RAML 1.0' });
47
47
  config.set('SE-22063/SE-22063.raml', { type: 'RAML 1.0' });
48
48
  config.set('tracked-examples/tracked-to-linked.raml', { type: 'RAML 1.0' });
49
+ config.set('petstore/petstore.yaml', { type: "OAS 3.0" });
50
+ config.set('arc-demo-api/arc-demo-api.raml', { type: "RAML 1.0" });
51
+ config.set('APIC-483/APIC-483.raml', { type: "RAML 1.0" });
52
+ config.set('oas-3-api/oas-3-api.yaml', { type: "OAS 3.0" });
53
+ config.set('secured-api/secured-api.raml', { type: "RAML 1.0" });
49
54
 
50
55
  const srcFolder = path.join('data', 'apis');
51
56
  const descFolder = path.join('data', 'models');