@rxap/open-api 19.2.0-dev.2 → 19.2.0-dev.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 (78) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/compodoc/changelog.html +5 -0
  3. package/compodoc/classes/SchemaValidationMixin.html +106 -6
  4. package/compodoc/dependencies.html +1 -1
  5. package/compodoc/interfaces/SchemaValidationResponse.html +19 -4
  6. package/compodoc/js/search/search_index.js +2 -2
  7. package/compodoc/properties.html +1 -1
  8. package/docs/documentation.json +257 -178
  9. package/docs/html/assets/search.js +1 -1
  10. package/docs/html/classes/OpenApiConfigService.html +3 -3
  11. package/docs/html/classes/OpenApiHttpResponseError.html +4 -4
  12. package/docs/html/classes/RxapOpenApiError.html +5 -5
  13. package/docs/html/classes/SchemaValidationMixin.html +6 -5
  14. package/docs/html/functions/AssertOpenApiV3.html +1 -1
  15. package/docs/html/functions/IsOpenApiV3.html +1 -1
  16. package/docs/html/functions/IsReferenceObject.html +1 -1
  17. package/docs/html/functions/NotContainsReferenceObjects.html +1 -1
  18. package/docs/html/functions/OpenApiInit.html +1 -1
  19. package/docs/html/index.html +2 -2
  20. package/docs/html/interfaces/OpenApiInitOptions.html +3 -3
  21. package/docs/html/interfaces/OpenApiMetaData.html +5 -5
  22. package/docs/html/interfaces/OperationObjectWithMetadata.html +2 -2
  23. package/docs/html/interfaces/SchemaValidationResponse.html +2 -2
  24. package/docs/html/modules.html +1 -1
  25. package/docs/html/types/OperationMap.html +1 -1
  26. package/docs/html/variables/DEFAULT_OPEN_API_DATA_SOURCE_META_DATA.html +1 -1
  27. package/docs/html/variables/DEFAULT_OPEN_API_REMOTE_METHOD_META_DATA.html +1 -1
  28. package/docs/html/variables/DISABLE_SCHEMA_VALIDATION.html +1 -1
  29. package/docs/html/variables/DISABLE_VALIDATION.html +1 -1
  30. package/docs/html/variables/RXAP_OPEN_API_CONFIG.html +1 -1
  31. package/docs/html/variables/RXAP_OPEN_API_STRICT_VALIDATOR.html +1 -1
  32. package/docs/markdown/README.md +1 -1
  33. package/docs/markdown/classes/OpenApiConfigService.md +14 -14
  34. package/docs/markdown/classes/OpenApiHttpResponseError.md +7 -7
  35. package/docs/markdown/classes/RxapOpenApiError.md +13 -13
  36. package/docs/markdown/classes/SchemaValidationMixin.md +34 -12
  37. package/docs/markdown/functions/AssertOpenApiV3.md +2 -2
  38. package/docs/markdown/functions/IsOpenApiV3.md +2 -2
  39. package/docs/markdown/functions/IsReferenceObject.md +2 -2
  40. package/docs/markdown/functions/NotContainsReferenceObjects.md +2 -2
  41. package/docs/markdown/functions/OpenApiInit.md +2 -2
  42. package/docs/markdown/globals.md +2 -2
  43. package/docs/markdown/interfaces/OpenApiInitOptions.md +4 -4
  44. package/docs/markdown/interfaces/OpenApiMetaData.md +7 -7
  45. package/docs/markdown/interfaces/OperationObjectWithMetadata.md +4 -4
  46. package/docs/markdown/interfaces/SchemaValidationResponse.md +6 -6
  47. package/docs/markdown/type-aliases/OperationMap.md +2 -2
  48. package/docs/markdown/variables/DEFAULT_OPEN_API_DATA_SOURCE_META_DATA.md +2 -2
  49. package/docs/markdown/variables/DEFAULT_OPEN_API_REMOTE_METHOD_META_DATA.md +2 -2
  50. package/docs/markdown/variables/DISABLE_SCHEMA_VALIDATION.md +2 -2
  51. package/docs/markdown/variables/DISABLE_VALIDATION.md +2 -2
  52. package/docs/markdown/variables/RXAP_OPEN_API_CONFIG.md +2 -2
  53. package/docs/markdown/variables/RXAP_OPEN_API_STRICT_VALIDATOR.md +2 -2
  54. package/docs/wiki/Class.OpenApiConfigService.md +13 -13
  55. package/docs/wiki/Class.OpenApiHttpResponseError.md +6 -6
  56. package/docs/wiki/Class.RxapOpenApiError.md +12 -12
  57. package/docs/wiki/Class.SchemaValidationMixin.md +33 -11
  58. package/docs/wiki/Function.AssertOpenApiV3.md +1 -1
  59. package/docs/wiki/Function.IsOpenApiV3.md +1 -1
  60. package/docs/wiki/Function.IsReferenceObject.md +1 -1
  61. package/docs/wiki/Function.NotContainsReferenceObjects.md +1 -1
  62. package/docs/wiki/Function.OpenApiInit.md +1 -1
  63. package/docs/wiki/Interface.OpenApiInitOptions.md +3 -3
  64. package/docs/wiki/Interface.OpenApiMetaData.md +6 -6
  65. package/docs/wiki/Interface.OperationObjectWithMetadata.md +3 -3
  66. package/docs/wiki/Interface.SchemaValidationResponse.md +5 -5
  67. package/docs/wiki/TypeAlias.OperationMap.md +1 -1
  68. package/docs/wiki/Variable.DEFAULT_OPEN_API_DATA_SOURCE_META_DATA.md +1 -1
  69. package/docs/wiki/Variable.DEFAULT_OPEN_API_REMOTE_METHOD_META_DATA.md +1 -1
  70. package/docs/wiki/Variable.DISABLE_SCHEMA_VALIDATION.md +1 -1
  71. package/docs/wiki/Variable.DISABLE_VALIDATION.md +1 -1
  72. package/docs/wiki/Variable.RXAP_OPEN_API_CONFIG.md +1 -1
  73. package/docs/wiki/Variable.RXAP_OPEN_API_STRICT_VALIDATOR.md +1 -1
  74. package/docs/wiki/globals.md +1 -1
  75. package/fesm2022/rxap-open-api.mjs +20 -4
  76. package/fesm2022/rxap-open-api.mjs.map +1 -1
  77. package/lib/schema-validation.mixin.d.ts +1 -0
  78. package/package.json +8 -8
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Class: SchemaValidationMixin\<Response, Parameters, RequestBody\>
4
4
 
5
- Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:31](https://gitlab.com/rxap/packages/-/blob/c245f8b24a529abc11f07b490f7f76f1f16a37a8/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L31)
5
+ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:31](https://gitlab.com/rxap/packages/-/blob/2042e24ce69e05f30c2866a6fa61d9fd6fd89a30/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L31)
6
6
 
7
7
  ## Type Parameters
8
8
 
@@ -28,7 +28,7 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:31](ht
28
28
 
29
29
  > `protected` `optional` **disableSchemaValidation**: `boolean`
30
30
 
31
- Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:35](https://gitlab.com/rxap/packages/-/blob/c245f8b24a529abc11f07b490f7f76f1f16a37a8/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L35)
31
+ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:35](https://gitlab.com/rxap/packages/-/blob/2042e24ce69e05f30c2866a6fa61d9fd6fd89a30/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L35)
32
32
 
33
33
  ***
34
34
 
@@ -36,7 +36,7 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:35](ht
36
36
 
37
37
  > `static` **STRICT**: `boolean` = `false`
38
38
 
39
- Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:33](https://gitlab.com/rxap/packages/-/blob/c245f8b24a529abc11f07b490f7f76f1f16a37a8/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L33)
39
+ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:33](https://gitlab.com/rxap/packages/-/blob/2042e24ce69e05f30c2866a6fa61d9fd6fd89a30/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L33)
40
40
 
41
41
  ## Methods
42
42
 
@@ -44,7 +44,7 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:33](ht
44
44
 
45
45
  > **buildHttpHeaders**(`operationParameters`, `parameters`?): `HttpHeaders`
46
46
 
47
- Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:293](https://gitlab.com/rxap/packages/-/blob/c245f8b24a529abc11f07b490f7f76f1f16a37a8/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L293)
47
+ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:293](https://gitlab.com/rxap/packages/-/blob/2042e24ce69e05f30c2866a6fa61d9fd6fd89a30/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L293)
48
48
 
49
49
  #### Parameters
50
50
 
@@ -66,7 +66,7 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:293](h
66
66
 
67
67
  > **buildHttpOptions**(`operation`, `parameters`?, `requestBody`?, `ignoreUndefined`?): `HttpRemoteMethodParameter`
68
68
 
69
- Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:362](https://gitlab.com/rxap/packages/-/blob/c245f8b24a529abc11f07b490f7f76f1f16a37a8/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L362)
69
+ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:377](https://gitlab.com/rxap/packages/-/blob/2042e24ce69e05f30c2866a6fa61d9fd6fd89a30/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L377)
70
70
 
71
71
  Converts open api parameters into the corresponding http options to
72
72
  create a http request. The transformation is guided by the openapi definition
@@ -99,7 +99,7 @@ create a http request. The transformation is guided by the openapi definition
99
99
 
100
100
  > **buildHttpParams**(`operationParameters`, `parameters`?, `ignoreUndefined`?): `HttpParams`
101
101
 
102
- Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:244](https://gitlab.com/rxap/packages/-/blob/c245f8b24a529abc11f07b490f7f76f1f16a37a8/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L244)
102
+ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:244](https://gitlab.com/rxap/packages/-/blob/2042e24ce69e05f30c2866a6fa61d9fd6fd89a30/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L244)
103
103
 
104
104
  #### Parameters
105
105
 
@@ -125,7 +125,7 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:244](h
125
125
 
126
126
  > **buildHttpPathParams**(`operationParameters`, `parameters`?): `Record`\<`string`, `string`\>
127
127
 
128
- Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:328](https://gitlab.com/rxap/packages/-/blob/c245f8b24a529abc11f07b490f7f76f1f16a37a8/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L328)
128
+ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:328](https://gitlab.com/rxap/packages/-/blob/2042e24ce69e05f30c2866a6fa61d9fd6fd89a30/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L328)
129
129
 
130
130
  #### Parameters
131
131
 
@@ -143,11 +143,33 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:328](h
143
143
 
144
144
  ***
145
145
 
146
+ ### normalizePathParamValue()
147
+
148
+ > `protected` **normalizePathParamValue**(`value`, `paramName`): `string`
149
+
150
+ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:351](https://gitlab.com/rxap/packages/-/blob/2042e24ce69e05f30c2866a6fa61d9fd6fd89a30/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L351)
151
+
152
+ #### Parameters
153
+
154
+ ##### value
155
+
156
+ `any`
157
+
158
+ ##### paramName
159
+
160
+ `string`
161
+
162
+ #### Returns
163
+
164
+ `string`
165
+
166
+ ***
167
+
146
168
  ### validateParameters()
147
169
 
148
170
  > `protected` **validateParameters**(`operation`, `parameters`?, `strict`?): `void`
149
171
 
150
- Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:45](https://gitlab.com/rxap/packages/-/blob/c245f8b24a529abc11f07b490f7f76f1f16a37a8/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L45)
172
+ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:45](https://gitlab.com/rxap/packages/-/blob/2042e24ce69e05f30c2866a6fa61d9fd6fd89a30/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L45)
151
173
 
152
174
  Validates the parameters against the schema specified in the operation object
153
175
 
@@ -175,7 +197,7 @@ Validates the parameters against the schema specified in the operation object
175
197
 
176
198
  > **validateRequestBody**(`operation`, `body`?, `strict`?): `void`
177
199
 
178
- Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:189](https://gitlab.com/rxap/packages/-/blob/c245f8b24a529abc11f07b490f7f76f1f16a37a8/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L189)
200
+ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:189](https://gitlab.com/rxap/packages/-/blob/2042e24ce69e05f30c2866a6fa61d9fd6fd89a30/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L189)
179
201
 
180
202
  #### Parameters
181
203
 
@@ -201,7 +223,7 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:189](h
201
223
 
202
224
  > `protected` **validateResponse**(`operation`, `response`, `strict`): `void`
203
225
 
204
- Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:122](https://gitlab.com/rxap/packages/-/blob/c245f8b24a529abc11f07b490f7f76f1f16a37a8/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L122)
226
+ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:122](https://gitlab.com/rxap/packages/-/blob/2042e24ce69e05f30c2866a6fa61d9fd6fd89a30/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L122)
205
227
 
206
228
  Validates the http response against the schema specified in the operation object
207
229
 
@@ -229,7 +251,7 @@ Validates the http response against the schema specified in the operation object
229
251
 
230
252
  > **validationError**(`message`, `strict`, `schema`?, `value`?): `void`
231
253
 
232
- Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:222](https://gitlab.com/rxap/packages/-/blob/c245f8b24a529abc11f07b490f7f76f1f16a37a8/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L222)
254
+ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:222](https://gitlab.com/rxap/packages/-/blob/2042e24ce69e05f30c2866a6fa61d9fd6fd89a30/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L222)
233
255
 
234
256
  #### Parameters
235
257
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  > **AssertOpenApiV3**(`obj`?): `asserts obj is Document<{}>`
6
6
 
7
- Defined in: [packages/angular/open-api/src/lib/utilities.ts:16](https://gitlab.com/rxap/packages/-/blob/c245f8b24a529abc11f07b490f7f76f1f16a37a8/packages/angular/open-api/src/lib/utilities.ts#L16)
7
+ Defined in: [packages/angular/open-api/src/lib/utilities.ts:16](https://gitlab.com/rxap/packages/-/blob/2042e24ce69e05f30c2866a6fa61d9fd6fd89a30/packages/angular/open-api/src/lib/utilities.ts#L16)
8
8
 
9
9
  ## Parameters
10
10
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  > **IsOpenApiV3**(`obj`?): `obj is Document<{}>`
6
6
 
7
- Defined in: [packages/angular/open-api/src/lib/utilities.ts:12](https://gitlab.com/rxap/packages/-/blob/c245f8b24a529abc11f07b490f7f76f1f16a37a8/packages/angular/open-api/src/lib/utilities.ts#L12)
7
+ Defined in: [packages/angular/open-api/src/lib/utilities.ts:12](https://gitlab.com/rxap/packages/-/blob/2042e24ce69e05f30c2866a6fa61d9fd6fd89a30/packages/angular/open-api/src/lib/utilities.ts#L12)
8
8
 
9
9
  ## Parameters
10
10
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  > **IsReferenceObject**(`obj`?): `obj is ReferenceObject`
6
6
 
7
- Defined in: [packages/angular/open-api/src/lib/utilities.ts:4](https://gitlab.com/rxap/packages/-/blob/c245f8b24a529abc11f07b490f7f76f1f16a37a8/packages/angular/open-api/src/lib/utilities.ts#L4)
7
+ Defined in: [packages/angular/open-api/src/lib/utilities.ts:4](https://gitlab.com/rxap/packages/-/blob/2042e24ce69e05f30c2866a6fa61d9fd6fd89a30/packages/angular/open-api/src/lib/utilities.ts#L4)
8
8
 
9
9
  ## Parameters
10
10
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  > **NotContainsReferenceObjects**\<`T`\>(`array`?): `array is T[]`
6
6
 
7
- Defined in: [packages/angular/open-api/src/lib/utilities.ts:8](https://gitlab.com/rxap/packages/-/blob/c245f8b24a529abc11f07b490f7f76f1f16a37a8/packages/angular/open-api/src/lib/utilities.ts#L8)
7
+ Defined in: [packages/angular/open-api/src/lib/utilities.ts:8](https://gitlab.com/rxap/packages/-/blob/2042e24ce69e05f30c2866a6fa61d9fd6fd89a30/packages/angular/open-api/src/lib/utilities.ts#L8)
8
8
 
9
9
  ## Type Parameters
10
10
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  > **OpenApiInit**(`environment`, `options`): `undefined` \| `Promise`\<`void`\>
6
6
 
7
- Defined in: [packages/angular/open-api/src/lib/open-api-init.ts:20](https://gitlab.com/rxap/packages/-/blob/c245f8b24a529abc11f07b490f7f76f1f16a37a8/packages/angular/open-api/src/lib/open-api-init.ts#L20)
7
+ Defined in: [packages/angular/open-api/src/lib/open-api-init.ts:20](https://gitlab.com/rxap/packages/-/blob/2042e24ce69e05f30c2866a6fa61d9fd6fd89a30/packages/angular/open-api/src/lib/open-api-init.ts#L20)
8
8
 
9
9
  ## Parameters
10
10
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Interface: OpenApiInitOptions
4
4
 
5
- Defined in: [packages/angular/open-api/src/lib/open-api-init.ts:6](https://gitlab.com/rxap/packages/-/blob/c245f8b24a529abc11f07b490f7f76f1f16a37a8/packages/angular/open-api/src/lib/open-api-init.ts#L6)
5
+ Defined in: [packages/angular/open-api/src/lib/open-api-init.ts:6](https://gitlab.com/rxap/packages/-/blob/2042e24ce69e05f30c2866a6fa61d9fd6fd89a30/packages/angular/open-api/src/lib/open-api-init.ts#L6)
6
6
 
7
7
  ## Properties
8
8
 
@@ -10,7 +10,7 @@ Defined in: [packages/angular/open-api/src/lib/open-api-init.ts:6](https://gitla
10
10
 
11
11
  > `optional` **load**: `boolean` \| \{ `openApiUrl`: `string`; \}
12
12
 
13
- Defined in: [packages/angular/open-api/src/lib/open-api-init.ts:11](https://gitlab.com/rxap/packages/-/blob/c245f8b24a529abc11f07b490f7f76f1f16a37a8/packages/angular/open-api/src/lib/open-api-init.ts#L11)
13
+ Defined in: [packages/angular/open-api/src/lib/open-api-init.ts:11](https://gitlab.com/rxap/packages/-/blob/2042e24ce69e05f30c2866a6fa61d9fd6fd89a30/packages/angular/open-api/src/lib/open-api-init.ts#L11)
14
14
 
15
15
  true - load the open api config file from the default url
16
16
  default url: openapi.json
@@ -21,6 +21,6 @@ default url: openapi.json
21
21
 
22
22
  > `optional` **origin**: `string`
23
23
 
24
- Defined in: [packages/angular/open-api/src/lib/open-api-init.ts:17](https://gitlab.com/rxap/packages/-/blob/c245f8b24a529abc11f07b490f7f76f1f16a37a8/packages/angular/open-api/src/lib/open-api-init.ts#L17)
24
+ Defined in: [packages/angular/open-api/src/lib/open-api-init.ts:17](https://gitlab.com/rxap/packages/-/blob/2042e24ce69e05f30c2866a6fa61d9fd6fd89a30/packages/angular/open-api/src/lib/open-api-init.ts#L17)
25
25
 
26
26
  The location origin prefix for the open api base urls if the base url is not absolute. defaults to location.origin
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Interface: OpenApiMetaData
4
4
 
5
- Defined in: [packages/angular/open-api/src/lib/open-api.meta-data.ts:4](https://gitlab.com/rxap/packages/-/blob/c245f8b24a529abc11f07b490f7f76f1f16a37a8/packages/angular/open-api/src/lib/open-api.meta-data.ts#L4)
5
+ Defined in: [packages/angular/open-api/src/lib/open-api.meta-data.ts:4](https://gitlab.com/rxap/packages/-/blob/2042e24ce69e05f30c2866a6fa61d9fd6fd89a30/packages/angular/open-api/src/lib/open-api.meta-data.ts#L4)
6
6
 
7
7
  ## Extends
8
8
 
@@ -18,7 +18,7 @@ Defined in: [packages/angular/open-api/src/lib/open-api.meta-data.ts:4](https://
18
18
 
19
19
  > **id**: `string`
20
20
 
21
- Defined in: [packages/angular/open-api/src/lib/open-api.meta-data.ts:17](https://gitlab.com/rxap/packages/-/blob/c245f8b24a529abc11f07b490f7f76f1f16a37a8/packages/angular/open-api/src/lib/open-api.meta-data.ts#L17)
21
+ Defined in: [packages/angular/open-api/src/lib/open-api.meta-data.ts:17](https://gitlab.com/rxap/packages/-/blob/2042e24ce69e05f30c2866a6fa61d9fd6fd89a30/packages/angular/open-api/src/lib/open-api.meta-data.ts#L17)
22
22
 
23
23
  #### Overrides
24
24
 
@@ -30,7 +30,7 @@ Defined in: [packages/angular/open-api/src/lib/open-api.meta-data.ts:17](https:/
30
30
 
31
31
  > `optional` **operation**: `string` \| [`OperationObjectWithMetadata`](../wiki/Interface.OperationObjectWithMetadata)
32
32
 
33
- Defined in: [packages/angular/open-api/src/lib/open-api.meta-data.ts:8](https://gitlab.com/rxap/packages/-/blob/c245f8b24a529abc11f07b490f7f76f1f16a37a8/packages/angular/open-api/src/lib/open-api.meta-data.ts#L8)
33
+ Defined in: [packages/angular/open-api/src/lib/open-api.meta-data.ts:8](https://gitlab.com/rxap/packages/-/blob/2042e24ce69e05f30c2866a6fa61d9fd6fd89a30/packages/angular/open-api/src/lib/open-api.meta-data.ts#L8)
34
34
 
35
35
  The operation object with path and method
36
36
 
@@ -40,7 +40,7 @@ The operation object with path and method
40
40
 
41
41
  > `optional` **refresh**: (`Type`\<`Refreshable`\> \| `InjectionToken`\<`Refreshable`\> \| `AbstractType`\<`Refreshable`\>)[]
42
42
 
43
- Defined in: [packages/angular/remote-method/src/lib/base.remote-method.ts:26](https://gitlab.com/rxap/packages/-/blob/c245f8b24a529abc11f07b490f7f76f1f16a37a8/packages/angular/remote-method/src/lib/base.remote-method.ts#L26)
43
+ Defined in: [packages/angular/remote-method/src/lib/base.remote-method.ts:26](https://gitlab.com/rxap/packages/-/blob/2042e24ce69e05f30c2866a6fa61d9fd6fd89a30/packages/angular/remote-method/src/lib/base.remote-method.ts#L26)
44
44
 
45
45
  #### Inherited from
46
46
 
@@ -52,7 +52,7 @@ Defined in: [packages/angular/remote-method/src/lib/base.remote-method.ts:26](ht
52
52
 
53
53
  > `optional` **serverId**: `string`
54
54
 
55
- Defined in: [packages/angular/open-api/src/lib/open-api.meta-data.ts:16](https://gitlab.com/rxap/packages/-/blob/c245f8b24a529abc11f07b490f7f76f1f16a37a8/packages/angular/open-api/src/lib/open-api.meta-data.ts#L16)
55
+ Defined in: [packages/angular/open-api/src/lib/open-api.meta-data.ts:16](https://gitlab.com/rxap/packages/-/blob/2042e24ce69e05f30c2866a6fa61d9fd6fd89a30/packages/angular/open-api/src/lib/open-api.meta-data.ts#L16)
56
56
 
57
57
  used to specify the target server for the reset api operation
58
58
 
@@ -62,6 +62,6 @@ used to specify the target server for the reset api operation
62
62
 
63
63
  > `optional` **serverIndex**: `number`
64
64
 
65
- Defined in: [packages/angular/open-api/src/lib/open-api.meta-data.ts:12](https://gitlab.com/rxap/packages/-/blob/c245f8b24a529abc11f07b490f7f76f1f16a37a8/packages/angular/open-api/src/lib/open-api.meta-data.ts#L12)
65
+ Defined in: [packages/angular/open-api/src/lib/open-api.meta-data.ts:12](https://gitlab.com/rxap/packages/-/blob/2042e24ce69e05f30c2866a6fa61d9fd6fd89a30/packages/angular/open-api/src/lib/open-api.meta-data.ts#L12)
66
66
 
67
67
  The index of the server object in the servers array in the open api config
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Interface: OperationObjectWithMetadata
4
4
 
5
- Defined in: [packages/angular/open-api/src/lib/open-api.ts:3](https://gitlab.com/rxap/packages/-/blob/c245f8b24a529abc11f07b490f7f76f1f16a37a8/packages/angular/open-api/src/lib/open-api.ts#L3)
5
+ Defined in: [packages/angular/open-api/src/lib/open-api.ts:3](https://gitlab.com/rxap/packages/-/blob/2042e24ce69e05f30c2866a6fa61d9fd6fd89a30/packages/angular/open-api/src/lib/open-api.ts#L3)
6
6
 
7
7
  ## Extends
8
8
 
@@ -66,7 +66,7 @@ Defined in: node\_modules/openapi-types/dist/index.d.ts:219
66
66
 
67
67
  > **method**: `string`
68
68
 
69
- Defined in: [packages/angular/open-api/src/lib/open-api.ts:5](https://gitlab.com/rxap/packages/-/blob/c245f8b24a529abc11f07b490f7f76f1f16a37a8/packages/angular/open-api/src/lib/open-api.ts#L5)
69
+ Defined in: [packages/angular/open-api/src/lib/open-api.ts:5](https://gitlab.com/rxap/packages/-/blob/2042e24ce69e05f30c2866a6fa61d9fd6fd89a30/packages/angular/open-api/src/lib/open-api.ts#L5)
70
70
 
71
71
  ***
72
72
 
@@ -98,7 +98,7 @@ Defined in: node\_modules/openapi-types/dist/index.d.ts:221
98
98
 
99
99
  > **path**: `string`
100
100
 
101
- Defined in: [packages/angular/open-api/src/lib/open-api.ts:4](https://gitlab.com/rxap/packages/-/blob/c245f8b24a529abc11f07b490f7f76f1f16a37a8/packages/angular/open-api/src/lib/open-api.ts#L4)
101
+ Defined in: [packages/angular/open-api/src/lib/open-api.ts:4](https://gitlab.com/rxap/packages/-/blob/2042e24ce69e05f30c2866a6fa61d9fd6fd89a30/packages/angular/open-api/src/lib/open-api.ts#L4)
102
102
 
103
103
  ***
104
104
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  # Interface: SchemaValidationResponse\<Data\>
4
4
 
5
- Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:22](https://gitlab.com/rxap/packages/-/blob/c245f8b24a529abc11f07b490f7f76f1f16a37a8/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L22)
5
+ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:22](https://gitlab.com/rxap/packages/-/blob/2042e24ce69e05f30c2866a6fa61d9fd6fd89a30/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L22)
6
6
 
7
7
  ## Type Parameters
8
8
 
@@ -14,7 +14,7 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:22](ht
14
14
 
15
15
  > `optional` **body**: `null` \| `Data`
16
16
 
17
- Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:25](https://gitlab.com/rxap/packages/-/blob/c245f8b24a529abc11f07b490f7f76f1f16a37a8/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L25)
17
+ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:25](https://gitlab.com/rxap/packages/-/blob/2042e24ce69e05f30c2866a6fa61d9fd6fd89a30/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L25)
18
18
 
19
19
  ***
20
20
 
@@ -22,7 +22,7 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:25](ht
22
22
 
23
23
  > `optional` **data**: `Data`
24
24
 
25
- Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:26](https://gitlab.com/rxap/packages/-/blob/c245f8b24a529abc11f07b490f7f76f1f16a37a8/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L26)
25
+ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:26](https://gitlab.com/rxap/packages/-/blob/2042e24ce69e05f30c2866a6fa61d9fd6fd89a30/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L26)
26
26
 
27
27
  ***
28
28
 
@@ -30,7 +30,7 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:26](ht
30
30
 
31
31
  > **headers**: `HttpHeaders`
32
32
 
33
- Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:23](https://gitlab.com/rxap/packages/-/blob/c245f8b24a529abc11f07b490f7f76f1f16a37a8/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L23)
33
+ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:23](https://gitlab.com/rxap/packages/-/blob/2042e24ce69e05f30c2866a6fa61d9fd6fd89a30/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L23)
34
34
 
35
35
  ***
36
36
 
@@ -38,4 +38,4 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:23](ht
38
38
 
39
39
  > **status**: `number`
40
40
 
41
- Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:24](https://gitlab.com/rxap/packages/-/blob/c245f8b24a529abc11f07b490f7f76f1f16a37a8/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L24)
41
+ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:24](https://gitlab.com/rxap/packages/-/blob/2042e24ce69e05f30c2866a6fa61d9fd6fd89a30/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L24)
@@ -4,4 +4,4 @@
4
4
 
5
5
  > **OperationMap**: `Map`\<`string`, [`OperationObjectWithMetadata`](../wiki/Interface.OperationObjectWithMetadata)\>
6
6
 
7
- Defined in: [packages/angular/open-api/src/lib/open-api-config.service.ts:15](https://gitlab.com/rxap/packages/-/blob/c245f8b24a529abc11f07b490f7f76f1f16a37a8/packages/angular/open-api/src/lib/open-api-config.service.ts#L15)
7
+ Defined in: [packages/angular/open-api/src/lib/open-api-config.service.ts:15](https://gitlab.com/rxap/packages/-/blob/2042e24ce69e05f30c2866a6fa61d9fd6fd89a30/packages/angular/open-api/src/lib/open-api-config.service.ts#L15)
@@ -4,4 +4,4 @@
4
4
 
5
5
  > `const` **DEFAULT\_OPEN\_API\_DATA\_SOURCE\_META\_DATA**: `InjectionToken`\<`unknown`\>
6
6
 
7
- Defined in: [packages/angular/open-api/src/lib/tokens.ts:7](https://gitlab.com/rxap/packages/-/blob/c245f8b24a529abc11f07b490f7f76f1f16a37a8/packages/angular/open-api/src/lib/tokens.ts#L7)
7
+ Defined in: [packages/angular/open-api/src/lib/tokens.ts:7](https://gitlab.com/rxap/packages/-/blob/2042e24ce69e05f30c2866a6fa61d9fd6fd89a30/packages/angular/open-api/src/lib/tokens.ts#L7)
@@ -4,4 +4,4 @@
4
4
 
5
5
  > `const` **DEFAULT\_OPEN\_API\_REMOTE\_METHOD\_META\_DATA**: `InjectionToken`\<`unknown`\>
6
6
 
7
- Defined in: [packages/angular/open-api/src/lib/tokens.ts:5](https://gitlab.com/rxap/packages/-/blob/c245f8b24a529abc11f07b490f7f76f1f16a37a8/packages/angular/open-api/src/lib/tokens.ts#L5)
7
+ Defined in: [packages/angular/open-api/src/lib/tokens.ts:5](https://gitlab.com/rxap/packages/-/blob/2042e24ce69e05f30c2866a6fa61d9fd6fd89a30/packages/angular/open-api/src/lib/tokens.ts#L5)
@@ -4,4 +4,4 @@
4
4
 
5
5
  > `const` **DISABLE\_SCHEMA\_VALIDATION**: `InjectionToken`\<`boolean`\>
6
6
 
7
- Defined in: [packages/angular/open-api/src/lib/tokens.ts:8](https://gitlab.com/rxap/packages/-/blob/c245f8b24a529abc11f07b490f7f76f1f16a37a8/packages/angular/open-api/src/lib/tokens.ts#L8)
7
+ Defined in: [packages/angular/open-api/src/lib/tokens.ts:8](https://gitlab.com/rxap/packages/-/blob/2042e24ce69e05f30c2866a6fa61d9fd6fd89a30/packages/angular/open-api/src/lib/tokens.ts#L8)
@@ -4,4 +4,4 @@
4
4
 
5
5
  > `const` **DISABLE\_VALIDATION**: `InjectionToken`\<`boolean`\>
6
6
 
7
- Defined in: [packages/angular/open-api/src/lib/tokens.ts:12](https://gitlab.com/rxap/packages/-/blob/c245f8b24a529abc11f07b490f7f76f1f16a37a8/packages/angular/open-api/src/lib/tokens.ts#L12)
7
+ Defined in: [packages/angular/open-api/src/lib/tokens.ts:12](https://gitlab.com/rxap/packages/-/blob/2042e24ce69e05f30c2866a6fa61d9fd6fd89a30/packages/angular/open-api/src/lib/tokens.ts#L12)
@@ -4,4 +4,4 @@
4
4
 
5
5
  > `const` **RXAP\_OPEN\_API\_CONFIG**: `InjectionToken`\<`unknown`\>
6
6
 
7
- Defined in: [packages/angular/open-api/src/lib/tokens.ts:3](https://gitlab.com/rxap/packages/-/blob/c245f8b24a529abc11f07b490f7f76f1f16a37a8/packages/angular/open-api/src/lib/tokens.ts#L3)
7
+ Defined in: [packages/angular/open-api/src/lib/tokens.ts:3](https://gitlab.com/rxap/packages/-/blob/2042e24ce69e05f30c2866a6fa61d9fd6fd89a30/packages/angular/open-api/src/lib/tokens.ts#L3)
@@ -4,4 +4,4 @@
4
4
 
5
5
  > `const` **RXAP\_OPEN\_API\_STRICT\_VALIDATOR**: `InjectionToken`\<`unknown`\>
6
6
 
7
- Defined in: [packages/angular/open-api/src/lib/tokens.ts:4](https://gitlab.com/rxap/packages/-/blob/c245f8b24a529abc11f07b490f7f76f1f16a37a8/packages/angular/open-api/src/lib/tokens.ts#L4)
7
+ Defined in: [packages/angular/open-api/src/lib/tokens.ts:4](https://gitlab.com/rxap/packages/-/blob/2042e24ce69e05f30c2866a6fa61d9fd6fd89a30/packages/angular/open-api/src/lib/tokens.ts#L4)
@@ -1,4 +1,4 @@
1
- # @rxap/open-api v19.2.0-dev.2
1
+ # @rxap/open-api v19.2.0-dev.3
2
2
 
3
3
  ## Classes
4
4
 
@@ -458,15 +458,31 @@ class SchemaValidationMixin {
458
458
  const pathParams = {};
459
459
  if (IsRecord(parameters)) {
460
460
  for (const parameter of operationParameters.filter(p => p.in === 'path')) {
461
- if (parameters.hasOwnProperty(parameter.name)) {
462
- pathParams[parameter.name] = encodeURIComponent(typeof parameters[parameter.name] === 'object' ?
463
- JSON.stringify(parameters[parameter.name]) :
464
- parameters[parameter.name]);
461
+ if (parameter.name in parameters) {
462
+ pathParams[parameter.name] = this.normalizePathParamValue(parameters[parameter.name], parameter.name);
465
463
  }
466
464
  }
467
465
  }
468
466
  return pathParams;
469
467
  }
468
+ normalizePathParamValue(value, paramName) {
469
+ if (!value) {
470
+ throw new Error(`The path parameter '${paramName}' is empty or undefined!`);
471
+ }
472
+ if (Array.isArray(value)) {
473
+ if (value.length === 0) {
474
+ throw new Error(`The path parameter '${paramName}' is an empty array!`);
475
+ }
476
+ return value.map((item, index) => this.normalizePathParamValue(item, `${paramName}[${index}]`)).join('/');
477
+ }
478
+ else if (typeof value === 'object') {
479
+ return encodeURIComponent(JSON.stringify(value));
480
+ }
481
+ else if (typeof value === `string`) {
482
+ return encodeURIComponent(value);
483
+ }
484
+ return value.toString();
485
+ }
470
486
  /**
471
487
  * Converts open api parameters into the corresponding http options to
472
488
  * create a http request. The transformation is guided by the openapi definition