@rxap/open-api 19.2.0-dev.4 → 19.3.0-dev.0
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.
- package/CHANGELOG.md +10 -0
- package/compodoc/changelog.html +7 -0
- package/compodoc/dependencies.html +6 -6
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/miscellaneous/variables.html +146 -0
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +842 -566
- package/docs/html/assets/navigation.js +1 -1
- package/docs/html/assets/search.js +1 -1
- package/docs/html/classes/OpenApiConfigService.html +3 -3
- package/docs/html/classes/OpenApiHttpResponseError.html +4 -4
- package/docs/html/classes/RxapOpenApiError.html +5 -5
- package/docs/html/classes/SchemaValidationMixin.html +5 -5
- package/docs/html/functions/AssertOpenApiV3.html +1 -1
- package/docs/html/functions/IsOpenApiV3.html +1 -1
- package/docs/html/functions/IsReferenceObject.html +1 -1
- package/docs/html/functions/NotContainsReferenceObjects.html +1 -1
- package/docs/html/functions/OpenApiInit.html +1 -1
- package/docs/html/functions/injectOpenApiBaseUrlHttpInterceptorFn.html +1 -0
- package/docs/html/index.html +2 -2
- package/docs/html/interfaces/OpenApiInitOptions.html +3 -3
- package/docs/html/interfaces/OpenApiMetaData.html +5 -5
- package/docs/html/interfaces/OperationObjectWithMetadata.html +2 -2
- package/docs/html/interfaces/SchemaValidationResponse.html +2 -2
- package/docs/html/modules.html +1 -1
- package/docs/html/types/OperationMap.html +1 -1
- package/docs/html/variables/DEFAULT_OPEN_API_DATA_SOURCE_META_DATA.html +1 -1
- package/docs/html/variables/DEFAULT_OPEN_API_REMOTE_METHOD_META_DATA.html +1 -1
- package/docs/html/variables/DISABLE_SCHEMA_VALIDATION.html +1 -1
- package/docs/html/variables/DISABLE_VALIDATION.html +1 -1
- package/docs/html/variables/OPEN_API_OPERATION.html +1 -0
- package/docs/html/variables/OPEN_API_OPERATION_ID.html +1 -0
- package/docs/html/variables/OPEN_API_SERVER_ID.html +1 -0
- package/docs/html/variables/OPEN_API_SERVER_INDEX.html +1 -0
- package/docs/html/variables/RXAP_OPEN_API_CONFIG.html +1 -1
- package/docs/html/variables/RXAP_OPEN_API_STRICT_VALIDATOR.html +1 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/OpenApiConfigService.md +14 -14
- package/docs/markdown/classes/OpenApiHttpResponseError.md +7 -7
- package/docs/markdown/classes/RxapOpenApiError.md +13 -13
- package/docs/markdown/classes/SchemaValidationMixin.md +13 -13
- package/docs/markdown/functions/AssertOpenApiV3.md +2 -2
- package/docs/markdown/functions/IsOpenApiV3.md +2 -2
- package/docs/markdown/functions/IsReferenceObject.md +2 -2
- package/docs/markdown/functions/NotContainsReferenceObjects.md +2 -2
- package/docs/markdown/functions/OpenApiInit.md +2 -2
- package/docs/markdown/functions/injectOpenApiBaseUrlHttpInterceptorFn.md +25 -0
- package/docs/markdown/globals.md +7 -2
- package/docs/markdown/interfaces/OpenApiInitOptions.md +4 -4
- package/docs/markdown/interfaces/OpenApiMetaData.md +7 -7
- package/docs/markdown/interfaces/OperationObjectWithMetadata.md +4 -4
- package/docs/markdown/interfaces/SchemaValidationResponse.md +6 -6
- package/docs/markdown/type-aliases/OperationMap.md +2 -2
- package/docs/markdown/variables/DEFAULT_OPEN_API_DATA_SOURCE_META_DATA.md +2 -2
- package/docs/markdown/variables/DEFAULT_OPEN_API_REMOTE_METHOD_META_DATA.md +2 -2
- package/docs/markdown/variables/DISABLE_SCHEMA_VALIDATION.md +2 -2
- package/docs/markdown/variables/DISABLE_VALIDATION.md +2 -2
- package/docs/markdown/variables/OPEN_API_OPERATION.md +11 -0
- package/docs/markdown/variables/OPEN_API_OPERATION_ID.md +11 -0
- package/docs/markdown/variables/OPEN_API_SERVER_ID.md +11 -0
- package/docs/markdown/variables/OPEN_API_SERVER_INDEX.md +11 -0
- package/docs/markdown/variables/RXAP_OPEN_API_CONFIG.md +2 -2
- package/docs/markdown/variables/RXAP_OPEN_API_STRICT_VALIDATOR.md +2 -2
- package/docs/wiki/Class.OpenApiConfigService.md +13 -13
- package/docs/wiki/Class.OpenApiHttpResponseError.md +6 -6
- package/docs/wiki/Class.RxapOpenApiError.md +12 -12
- package/docs/wiki/Class.SchemaValidationMixin.md +12 -12
- package/docs/wiki/Function.AssertOpenApiV3.md +1 -1
- package/docs/wiki/Function.IsOpenApiV3.md +1 -1
- package/docs/wiki/Function.IsReferenceObject.md +1 -1
- package/docs/wiki/Function.NotContainsReferenceObjects.md +1 -1
- package/docs/wiki/Function.OpenApiInit.md +1 -1
- package/docs/wiki/Function.injectOpenApiBaseUrlHttpInterceptorFn.md +21 -0
- package/docs/wiki/Interface.OpenApiInitOptions.md +3 -3
- package/docs/wiki/Interface.OpenApiMetaData.md +6 -6
- package/docs/wiki/Interface.OperationObjectWithMetadata.md +3 -3
- package/docs/wiki/Interface.SchemaValidationResponse.md +5 -5
- package/docs/wiki/TypeAlias.OperationMap.md +1 -1
- package/docs/wiki/Variable.DEFAULT_OPEN_API_DATA_SOURCE_META_DATA.md +1 -1
- package/docs/wiki/Variable.DEFAULT_OPEN_API_REMOTE_METHOD_META_DATA.md +1 -1
- package/docs/wiki/Variable.DISABLE_SCHEMA_VALIDATION.md +1 -1
- package/docs/wiki/Variable.DISABLE_VALIDATION.md +1 -1
- package/docs/wiki/Variable.OPEN_API_OPERATION.md +7 -0
- package/docs/wiki/Variable.OPEN_API_OPERATION_ID.md +7 -0
- package/docs/wiki/Variable.OPEN_API_SERVER_ID.md +7 -0
- package/docs/wiki/Variable.OPEN_API_SERVER_INDEX.md +7 -0
- package/docs/wiki/Variable.RXAP_OPEN_API_CONFIG.md +1 -1
- package/docs/wiki/Variable.RXAP_OPEN_API_STRICT_VALIDATOR.md +1 -1
- package/docs/wiki/_Sidebar.md +5 -0
- package/docs/wiki/globals.md +6 -1
- package/fesm2022/rxap-open-api-http-resource.mjs +8 -16
- package/fesm2022/rxap-open-api-http-resource.mjs.map +1 -1
- package/fesm2022/rxap-open-api-remote-method.mjs +6 -2
- package/fesm2022/rxap-open-api-remote-method.mjs.map +1 -1
- package/fesm2022/rxap-open-api.mjs +26 -3
- package/fesm2022/rxap-open-api.mjs.map +1 -1
- package/http-resource/lib/http-context-tokens.d.ts +4 -4
- package/http-resource/lib/http-interceptors.d.ts +4 -2
- package/index.d.ts +2 -0
- package/lib/http-context-tokens.d.ts +5 -0
- package/lib/http-interceptors.d.ts +2 -0
- package/package.json +26 -26
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Class: RxapOpenApiError
|
|
4
4
|
|
|
5
|
-
Defined in: [packages/angular/open-api/src/lib/error.ts:3](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [packages/angular/open-api/src/lib/error.ts:3](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/packages/angular/open-api/src/lib/error.ts#L3)
|
|
6
6
|
|
|
7
7
|
## Extends
|
|
8
8
|
|
|
@@ -14,7 +14,7 @@ Defined in: [packages/angular/open-api/src/lib/error.ts:3](https://gitlab.com/rx
|
|
|
14
14
|
|
|
15
15
|
> **new RxapOpenApiError**(`message`, `code`?, `scope`?): [`RxapOpenApiError`](../wiki/Class.RxapOpenApiError)
|
|
16
16
|
|
|
17
|
-
Defined in: [packages/angular/open-api/src/lib/error.ts:5](https://gitlab.com/rxap/packages/-/blob/
|
|
17
|
+
Defined in: [packages/angular/open-api/src/lib/error.ts:5](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/packages/angular/open-api/src/lib/error.ts#L5)
|
|
18
18
|
|
|
19
19
|
#### Parameters
|
|
20
20
|
|
|
@@ -44,7 +44,7 @@ Defined in: [packages/angular/open-api/src/lib/error.ts:5](https://gitlab.com/rx
|
|
|
44
44
|
|
|
45
45
|
> `protected` **\_packageName**: `string`
|
|
46
46
|
|
|
47
|
-
Defined in: [packages/utilities/src/lib/error.ts:6](https://gitlab.com/rxap/packages/-/blob/
|
|
47
|
+
Defined in: [packages/utilities/src/lib/error.ts:6](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/packages/utilities/src/lib/error.ts#L6)
|
|
48
48
|
|
|
49
49
|
#### Inherited from
|
|
50
50
|
|
|
@@ -56,7 +56,7 @@ Defined in: [packages/utilities/src/lib/error.ts:6](https://gitlab.com/rxap/pack
|
|
|
56
56
|
|
|
57
57
|
> `readonly` `optional` **code**: `string`
|
|
58
58
|
|
|
59
|
-
Defined in: [packages/utilities/src/lib/error.ts:8](https://gitlab.com/rxap/packages/-/blob/
|
|
59
|
+
Defined in: [packages/utilities/src/lib/error.ts:8](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/packages/utilities/src/lib/error.ts#L8)
|
|
60
60
|
|
|
61
61
|
#### Inherited from
|
|
62
62
|
|
|
@@ -92,7 +92,7 @@ Defined in: node\_modules/typescript/lib/lib.es5.d.ts:1076
|
|
|
92
92
|
|
|
93
93
|
> `readonly` `optional` **scope**: `string`
|
|
94
94
|
|
|
95
|
-
Defined in: [packages/utilities/src/lib/error.ts:9](https://gitlab.com/rxap/packages/-/blob/
|
|
95
|
+
Defined in: [packages/utilities/src/lib/error.ts:9](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/packages/utilities/src/lib/error.ts#L9)
|
|
96
96
|
|
|
97
97
|
#### Inherited from
|
|
98
98
|
|
|
@@ -104,7 +104,7 @@ Defined in: [packages/utilities/src/lib/error.ts:9](https://gitlab.com/rxap/pack
|
|
|
104
104
|
|
|
105
105
|
> `readonly` `optional` **stack**: `string`
|
|
106
106
|
|
|
107
|
-
Defined in: [packages/utilities/src/lib/error.ts:10](https://gitlab.com/rxap/packages/-/blob/
|
|
107
|
+
Defined in: [packages/utilities/src/lib/error.ts:10](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/packages/utilities/src/lib/error.ts#L10)
|
|
108
108
|
|
|
109
109
|
#### Inherited from
|
|
110
110
|
|
|
@@ -118,7 +118,7 @@ Defined in: [packages/utilities/src/lib/error.ts:10](https://gitlab.com/rxap/pac
|
|
|
118
118
|
|
|
119
119
|
> **get** **className**(): `undefined` \| `string`
|
|
120
120
|
|
|
121
|
-
Defined in: [packages/utilities/src/lib/error.ts:23](https://gitlab.com/rxap/packages/-/blob/
|
|
121
|
+
Defined in: [packages/utilities/src/lib/error.ts:23](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/packages/utilities/src/lib/error.ts#L23)
|
|
122
122
|
|
|
123
123
|
##### Returns
|
|
124
124
|
|
|
@@ -136,7 +136,7 @@ Defined in: [packages/utilities/src/lib/error.ts:23](https://gitlab.com/rxap/pac
|
|
|
136
136
|
|
|
137
137
|
> **get** **packageName**(): `string`
|
|
138
138
|
|
|
139
|
-
Defined in: [packages/utilities/src/lib/error.ts:19](https://gitlab.com/rxap/packages/-/blob/
|
|
139
|
+
Defined in: [packages/utilities/src/lib/error.ts:19](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/packages/utilities/src/lib/error.ts#L19)
|
|
140
140
|
|
|
141
141
|
##### Returns
|
|
142
142
|
|
|
@@ -152,7 +152,7 @@ Defined in: [packages/utilities/src/lib/error.ts:19](https://gitlab.com/rxap/pac
|
|
|
152
152
|
|
|
153
153
|
> `protected` **addSubPackageName**(`subPackageName`): `void`
|
|
154
154
|
|
|
155
|
-
Defined in: [packages/utilities/src/lib/error.ts:64](https://gitlab.com/rxap/packages/-/blob/
|
|
155
|
+
Defined in: [packages/utilities/src/lib/error.ts:64](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/packages/utilities/src/lib/error.ts#L64)
|
|
156
156
|
|
|
157
157
|
**`Internal`**
|
|
158
158
|
|
|
@@ -187,7 +187,7 @@ removed
|
|
|
187
187
|
|
|
188
188
|
> `protected` **setPackageName**(`packageName`): `void`
|
|
189
189
|
|
|
190
|
-
Defined in: [packages/utilities/src/lib/error.ts:74](https://gitlab.com/rxap/packages/-/blob/
|
|
190
|
+
Defined in: [packages/utilities/src/lib/error.ts:74](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/packages/utilities/src/lib/error.ts#L74)
|
|
191
191
|
|
|
192
192
|
**`Internal`**
|
|
193
193
|
|
|
@@ -215,7 +215,7 @@ The new package name
|
|
|
215
215
|
|
|
216
216
|
> `protected` **setSubPackageName**(`subPackageName`): `void`
|
|
217
217
|
|
|
218
|
-
Defined in: [packages/utilities/src/lib/error.ts:49](https://gitlab.com/rxap/packages/-/blob/
|
|
218
|
+
Defined in: [packages/utilities/src/lib/error.ts:49](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/packages/utilities/src/lib/error.ts#L49)
|
|
219
219
|
|
|
220
220
|
**`Internal`**
|
|
221
221
|
|
|
@@ -250,7 +250,7 @@ use addSubPackageName instead
|
|
|
250
250
|
|
|
251
251
|
> **toJSON**(): `object`
|
|
252
252
|
|
|
253
|
-
Defined in: [packages/utilities/src/lib/error.ts:27](https://gitlab.com/rxap/packages/-/blob/
|
|
253
|
+
Defined in: [packages/utilities/src/lib/error.ts:27](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/packages/utilities/src/lib/error.ts#L27)
|
|
254
254
|
|
|
255
255
|
#### Returns
|
|
256
256
|
|
|
@@ -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/
|
|
5
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:31](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/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/
|
|
31
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:35](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/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/
|
|
39
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:33](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/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/
|
|
47
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:293](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/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:377](https://gitlab.com/rxap/packages/-/blob/
|
|
69
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:377](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/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/
|
|
102
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:244](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/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/
|
|
128
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:328](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L328)
|
|
129
129
|
|
|
130
130
|
#### Parameters
|
|
131
131
|
|
|
@@ -147,7 +147,7 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:328](h
|
|
|
147
147
|
|
|
148
148
|
> `protected` **normalizePathParamValue**(`value`, `paramName`): `string`
|
|
149
149
|
|
|
150
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:351](https://gitlab.com/rxap/packages/-/blob/
|
|
150
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:351](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L351)
|
|
151
151
|
|
|
152
152
|
#### Parameters
|
|
153
153
|
|
|
@@ -169,7 +169,7 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:351](h
|
|
|
169
169
|
|
|
170
170
|
> `protected` **validateParameters**(`operation`, `parameters`?, `strict`?): `void`
|
|
171
171
|
|
|
172
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:45](https://gitlab.com/rxap/packages/-/blob/
|
|
172
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:45](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L45)
|
|
173
173
|
|
|
174
174
|
Validates the parameters against the schema specified in the operation object
|
|
175
175
|
|
|
@@ -197,7 +197,7 @@ Validates the parameters against the schema specified in the operation object
|
|
|
197
197
|
|
|
198
198
|
> **validateRequestBody**(`operation`, `body`?, `strict`?): `void`
|
|
199
199
|
|
|
200
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:189](https://gitlab.com/rxap/packages/-/blob/
|
|
200
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:189](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L189)
|
|
201
201
|
|
|
202
202
|
#### Parameters
|
|
203
203
|
|
|
@@ -223,7 +223,7 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:189](h
|
|
|
223
223
|
|
|
224
224
|
> `protected` **validateResponse**(`operation`, `response`, `strict`): `void`
|
|
225
225
|
|
|
226
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:122](https://gitlab.com/rxap/packages/-/blob/
|
|
226
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:122](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L122)
|
|
227
227
|
|
|
228
228
|
Validates the http response against the schema specified in the operation object
|
|
229
229
|
|
|
@@ -251,7 +251,7 @@ Validates the http response against the schema specified in the operation object
|
|
|
251
251
|
|
|
252
252
|
> **validationError**(`message`, `strict`, `schema`?, `value`?): `void`
|
|
253
253
|
|
|
254
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:222](https://gitlab.com/rxap/packages/-/blob/
|
|
254
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:222](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L222)
|
|
255
255
|
|
|
256
256
|
#### Parameters
|
|
257
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/
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/utilities.ts:16](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/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/
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/utilities.ts:12](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/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/
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/utilities.ts:4](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/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/
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/utilities.ts:8](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/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/
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/open-api-init.ts:20](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/packages/angular/open-api/src/lib/open-api-init.ts#L20)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[@rxap/open-api](../wiki/globals) / injectOpenApiBaseUrlHttpInterceptorFn
|
|
2
|
+
|
|
3
|
+
# Function: injectOpenApiBaseUrlHttpInterceptorFn()
|
|
4
|
+
|
|
5
|
+
> **injectOpenApiBaseUrlHttpInterceptorFn**(`req`, `next`): `Observable`\<`HttpEvent`\<`unknown`\>\>
|
|
6
|
+
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/http-interceptors.ts:8](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/packages/angular/open-api/src/lib/http-interceptors.ts#L8)
|
|
8
|
+
|
|
9
|
+
## Parameters
|
|
10
|
+
|
|
11
|
+
### req
|
|
12
|
+
|
|
13
|
+
`HttpRequest`\<`unknown`\>
|
|
14
|
+
|
|
15
|
+
### next
|
|
16
|
+
|
|
17
|
+
`HttpHandlerFn`
|
|
18
|
+
|
|
19
|
+
## Returns
|
|
20
|
+
|
|
21
|
+
`Observable`\<`HttpEvent`\<`unknown`\>\>
|
|
@@ -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/
|
|
5
|
+
Defined in: [packages/angular/open-api/src/lib/open-api-init.ts:6](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/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/
|
|
13
|
+
Defined in: [packages/angular/open-api/src/lib/open-api-init.ts:11](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/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/
|
|
24
|
+
Defined in: [packages/angular/open-api/src/lib/open-api-init.ts:17](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/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/
|
|
5
|
+
Defined in: [packages/angular/open-api/src/lib/open-api.meta-data.ts:4](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/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/
|
|
21
|
+
Defined in: [packages/angular/open-api/src/lib/open-api.meta-data.ts:17](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/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/
|
|
33
|
+
Defined in: [packages/angular/open-api/src/lib/open-api.meta-data.ts:8](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/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$1`\<`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/
|
|
43
|
+
Defined in: [packages/angular/remote-method/src/lib/base.remote-method.ts:26](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/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/
|
|
55
|
+
Defined in: [packages/angular/open-api/src/lib/open-api.meta-data.ts:16](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/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/
|
|
65
|
+
Defined in: [packages/angular/open-api/src/lib/open-api.meta-data.ts:12](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/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/
|
|
5
|
+
Defined in: [packages/angular/open-api/src/lib/open-api.ts:3](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/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/
|
|
69
|
+
Defined in: [packages/angular/open-api/src/lib/open-api.ts:5](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/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/
|
|
101
|
+
Defined in: [packages/angular/open-api/src/lib/open-api.ts:4](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/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/
|
|
5
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:22](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/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/
|
|
17
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:25](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/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/
|
|
25
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:26](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/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/
|
|
33
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:23](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/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/
|
|
41
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:24](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/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/
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/open-api-config.service.ts:15](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/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/
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/tokens.ts:7](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/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/
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/tokens.ts:5](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/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/
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/tokens.ts:8](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/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/
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/tokens.ts:12](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/packages/angular/open-api/src/lib/tokens.ts#L12)
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
[@rxap/open-api](../wiki/globals) / OPEN\_API\_OPERATION
|
|
2
|
+
|
|
3
|
+
# Variable: OPEN\_API\_OPERATION
|
|
4
|
+
|
|
5
|
+
> `const` **OPEN\_API\_OPERATION**: `HttpContextToken`\<`string`\>
|
|
6
|
+
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/http-context-tokens.ts:6](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/packages/angular/open-api/src/lib/http-context-tokens.ts#L6)
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
[@rxap/open-api](../wiki/globals) / OPEN\_API\_OPERATION\_ID
|
|
2
|
+
|
|
3
|
+
# Variable: OPEN\_API\_OPERATION\_ID
|
|
4
|
+
|
|
5
|
+
> `const` **OPEN\_API\_OPERATION\_ID**: `HttpContextToken`\<`string`\>
|
|
6
|
+
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/http-context-tokens.ts:3](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/packages/angular/open-api/src/lib/http-context-tokens.ts#L3)
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
[@rxap/open-api](../wiki/globals) / OPEN\_API\_SERVER\_ID
|
|
2
|
+
|
|
3
|
+
# Variable: OPEN\_API\_SERVER\_ID
|
|
4
|
+
|
|
5
|
+
> `const` **OPEN\_API\_SERVER\_ID**: `HttpContextToken`\<`null` \| `string`\>
|
|
6
|
+
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/http-context-tokens.ts:4](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/packages/angular/open-api/src/lib/http-context-tokens.ts#L4)
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
[@rxap/open-api](../wiki/globals) / OPEN\_API\_SERVER\_INDEX
|
|
2
|
+
|
|
3
|
+
# Variable: OPEN\_API\_SERVER\_INDEX
|
|
4
|
+
|
|
5
|
+
> `const` **OPEN\_API\_SERVER\_INDEX**: `HttpContextToken`\<`number`\>
|
|
6
|
+
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/http-context-tokens.ts:5](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/packages/angular/open-api/src/lib/http-context-tokens.ts#L5)
|
|
@@ -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/
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/tokens.ts:3](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/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/
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/tokens.ts:4](https://gitlab.com/rxap/packages/-/blob/30fb042ed61f3148d2437139b171e7b42cc8d544/packages/angular/open-api/src/lib/tokens.ts#L4)
|
package/docs/wiki/_Sidebar.md
CHANGED
|
@@ -24,12 +24,17 @@
|
|
|
24
24
|
- [DEFAULT_OPEN_API_REMOTE_METHOD_META_DATA](../wiki/Variable.DEFAULT_OPEN_API_REMOTE_METHOD_META_DATA)
|
|
25
25
|
- [DISABLE_SCHEMA_VALIDATION](../wiki/Variable.DISABLE_SCHEMA_VALIDATION)
|
|
26
26
|
- [DISABLE_VALIDATION](../wiki/Variable.DISABLE_VALIDATION)
|
|
27
|
+
- [OPEN_API_OPERATION](../wiki/Variable.OPEN_API_OPERATION)
|
|
28
|
+
- [OPEN_API_OPERATION_ID](../wiki/Variable.OPEN_API_OPERATION_ID)
|
|
29
|
+
- [OPEN_API_SERVER_ID](../wiki/Variable.OPEN_API_SERVER_ID)
|
|
30
|
+
- [OPEN_API_SERVER_INDEX](../wiki/Variable.OPEN_API_SERVER_INDEX)
|
|
27
31
|
- [RXAP_OPEN_API_CONFIG](../wiki/Variable.RXAP_OPEN_API_CONFIG)
|
|
28
32
|
- [RXAP_OPEN_API_STRICT_VALIDATOR](../wiki/Variable.RXAP_OPEN_API_STRICT_VALIDATOR)
|
|
29
33
|
|
|
30
34
|
### Functions
|
|
31
35
|
|
|
32
36
|
- [AssertOpenApiV3](../wiki/Function.AssertOpenApiV3)
|
|
37
|
+
- [injectOpenApiBaseUrlHttpInterceptorFn](../wiki/Function.injectOpenApiBaseUrlHttpInterceptorFn)
|
|
33
38
|
- [IsOpenApiV3](../wiki/Function.IsOpenApiV3)
|
|
34
39
|
- [IsReferenceObject](../wiki/Function.IsReferenceObject)
|
|
35
40
|
- [NotContainsReferenceObjects](../wiki/Function.NotContainsReferenceObjects)
|
package/docs/wiki/globals.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @rxap/open-api v19.
|
|
1
|
+
# @rxap/open-api v19.3.0-dev.0
|
|
2
2
|
|
|
3
3
|
## Classes
|
|
4
4
|
|
|
@@ -24,12 +24,17 @@
|
|
|
24
24
|
- [DEFAULT\_OPEN\_API\_REMOTE\_METHOD\_META\_DATA](../wiki/Variable.DEFAULT_OPEN_API_REMOTE_METHOD_META_DATA)
|
|
25
25
|
- [DISABLE\_SCHEMA\_VALIDATION](../wiki/Variable.DISABLE_SCHEMA_VALIDATION)
|
|
26
26
|
- [DISABLE\_VALIDATION](../wiki/Variable.DISABLE_VALIDATION)
|
|
27
|
+
- [OPEN\_API\_OPERATION](../wiki/Variable.OPEN_API_OPERATION)
|
|
28
|
+
- [OPEN\_API\_OPERATION\_ID](../wiki/Variable.OPEN_API_OPERATION_ID)
|
|
29
|
+
- [OPEN\_API\_SERVER\_ID](../wiki/Variable.OPEN_API_SERVER_ID)
|
|
30
|
+
- [OPEN\_API\_SERVER\_INDEX](../wiki/Variable.OPEN_API_SERVER_INDEX)
|
|
27
31
|
- [RXAP\_OPEN\_API\_CONFIG](../wiki/Variable.RXAP_OPEN_API_CONFIG)
|
|
28
32
|
- [RXAP\_OPEN\_API\_STRICT\_VALIDATOR](../wiki/Variable.RXAP_OPEN_API_STRICT_VALIDATOR)
|
|
29
33
|
|
|
30
34
|
## Functions
|
|
31
35
|
|
|
32
36
|
- [AssertOpenApiV3](../wiki/Function.AssertOpenApiV3)
|
|
37
|
+
- [injectOpenApiBaseUrlHttpInterceptorFn](../wiki/Function.injectOpenApiBaseUrlHttpInterceptorFn)
|
|
33
38
|
- [IsOpenApiV3](../wiki/Function.IsOpenApiV3)
|
|
34
39
|
- [IsReferenceObject](../wiki/Function.IsReferenceObject)
|
|
35
40
|
- [NotContainsReferenceObjects](../wiki/Function.NotContainsReferenceObjects)
|
|
@@ -1,20 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
import { inject } from '@angular/core';
|
|
3
|
-
import { OpenApiConfigService } from '@rxap/open-api';
|
|
1
|
+
export { OPEN_API_OPERATION_ID, OPEN_API_SERVER_ID, injectOpenApiBaseUrlHttpInterceptorFn } from '@rxap/open-api';
|
|
4
2
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated use the @rxap/open-api package
|
|
5
|
+
*/
|
|
8
6
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
if (serverId) {
|
|
13
|
-
const baseUrl = openApiConfigService.getBaseUrl(undefined, serverId);
|
|
14
|
-
return next(req.clone({ url: baseUrl + req.url }));
|
|
15
|
-
}
|
|
16
|
-
return next(req);
|
|
17
|
-
};
|
|
7
|
+
/**
|
|
8
|
+
* @deprecated use the @rxap/open-api package
|
|
9
|
+
*/
|
|
18
10
|
|
|
19
11
|
function toHttpHeaders(record, include = []) {
|
|
20
12
|
if (!record) {
|
|
@@ -47,5 +39,5 @@ function toHttpParams(record, include = []) {
|
|
|
47
39
|
* Generated bundle index. Do not edit.
|
|
48
40
|
*/
|
|
49
41
|
|
|
50
|
-
export {
|
|
42
|
+
export { toHttpHeaders, toHttpParams };
|
|
51
43
|
//# sourceMappingURL=rxap-open-api-http-resource.mjs.map
|