@rxap/open-api 21.0.1 → 22.0.0-dev.1
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 +30 -0
- package/compodoc/architecture.html +222 -0
- package/compodoc/changelog.html +74 -5
- package/compodoc/classes/OpenApiHttpResponseError.html +110 -39
- package/compodoc/classes/RxapOpenApiError.html +77 -10
- package/compodoc/classes/SchemaValidationMixin.html +100 -29
- package/compodoc/dependencies.html +124 -35
- package/compodoc/index.html +46 -5
- package/compodoc/injectables/OpenApiConfigService.html +112 -38
- package/compodoc/interfaces/OpenApiInitOptions.html +166 -111
- package/compodoc/interfaces/OpenApiMetaData.html +259 -175
- package/compodoc/interfaces/OperationObjectWithMetadata.html +165 -91
- package/compodoc/interfaces/SchemaValidationResponse.html +247 -182
- package/compodoc/js/architecture-graph.js +288 -0
- package/compodoc/js/libs/bootstrap-native.js +4 -2
- package/compodoc/js/libs/jszip.min.js +13 -0
- package/compodoc/js/libs/svg-pan-zoom.min.js +3 -3
- package/compodoc/js/libs/tablesort.min.js +3 -3
- package/compodoc/js/libs/tablesort.number.min.js +3 -3
- package/compodoc/js/libs/vis-network.min.js +78 -0
- package/compodoc/js/menu-wc.js +27 -14
- package/compodoc/js/menu.js +10 -11
- package/compodoc/js/routes/routes_index.js +1 -0
- package/compodoc/js/routes.js +142 -34
- package/compodoc/js/search/search-lunr.js +6 -8
- package/compodoc/js/search/search.js +118 -66
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/js/tabs.js +98 -15
- package/compodoc/js/tree.js +44 -7
- package/compodoc/license.html +48 -6
- package/compodoc/llms.txt +154 -0
- package/compodoc/miscellaneous/functions.html +86 -19
- package/compodoc/miscellaneous/typealiases.html +46 -4
- package/compodoc/miscellaneous/variables.html +123 -16
- package/compodoc/modules.html +44 -3
- package/compodoc/overview.html +54 -3
- package/compodoc/properties.html +45 -4
- package/compodoc/routes.html +227 -0
- package/compodoc/styles/compodoc.css +365 -44
- package/compodoc/styles/dark.css +16 -0
- package/compodoc/template-playground/default-templates.json +192 -0
- package/compodoc/template-playground/hbs-render.service.ts +217 -0
- package/compodoc/template-playground/main.ts +9 -0
- package/compodoc/template-playground/template-editor.service.ts +173 -0
- package/compodoc/template-playground/template-playground.component.ts +614 -0
- package/compodoc/template-playground/template-playground.module.ts +29 -0
- package/compodoc/template-playground/zip-export.service.ts +86 -0
- package/compodoc/template-playground-app/app.js +1389 -0
- package/compodoc/template-playground-app/index.html +462 -0
- package/docs/documentation.json +1247 -1038
- package/docs/html/assets/highlight.css +1 -1
- package/docs/html/assets/icons.js +1 -1
- package/docs/html/assets/icons.svg +1 -1
- package/docs/html/assets/main.js +5 -5
- package/docs/html/assets/navigation.js +1 -1
- package/docs/html/assets/search.js +1 -1
- package/docs/html/assets/style.css +265 -228
- package/docs/html/classes/OpenApiConfigService.html +216 -14
- package/docs/html/classes/OpenApiHttpResponseError.html +215 -26
- package/docs/html/classes/RxapOpenApiError.html +242 -23
- package/docs/html/classes/SchemaValidationMixin.html +245 -16
- package/docs/html/functions/AssertOpenApiV3.html +42 -1
- package/docs/html/functions/IsOpenApiV3.html +42 -1
- package/docs/html/functions/IsReferenceObject.html +42 -1
- package/docs/html/functions/NotContainsReferenceObjects.html +46 -1
- package/docs/html/functions/OpenApiInit.html +43 -1
- package/docs/html/functions/getJsonContentSchema.html +42 -1
- package/docs/html/functions/getJsonSchema.html +42 -1
- package/docs/html/functions/hasJsonContentSchema.html +46 -1
- package/docs/html/functions/hasJsonSchema.html +42 -1
- package/docs/html/hierarchy.html +29 -0
- package/docs/html/index.html +40 -4
- package/docs/html/interfaces/OpenApiInitOptions.html +65 -5
- package/docs/html/interfaces/OpenApiMetaData.html +98 -9
- package/docs/html/interfaces/OperationObjectWithMetadata.html +151 -15
- package/docs/html/interfaces/SchemaValidationResponse.html +77 -5
- package/docs/html/modules.html +52 -1
- package/docs/html/types/OperationMap.html +33 -1
- package/docs/html/variables/DEFAULT_OPEN_API_DATA_SOURCE_META_DATA.html +33 -1
- package/docs/html/variables/DEFAULT_OPEN_API_REMOTE_METHOD_META_DATA.html +33 -1
- package/docs/html/variables/DISABLE_SCHEMA_VALIDATION.html +33 -1
- package/docs/html/variables/DISABLE_VALIDATION.html +33 -1
- package/docs/html/variables/OPEN_API_OPERATION.html +33 -1
- package/docs/html/variables/OPEN_API_OPERATION_ID.html +33 -1
- package/docs/html/variables/OPEN_API_SERVER_ID.html +33 -1
- package/docs/html/variables/OPEN_API_SERVER_INDEX.html +33 -1
- package/docs/html/variables/RXAP_OPEN_API_CONFIG.html +33 -1
- package/docs/html/variables/RXAP_OPEN_API_STRICT_VALIDATOR.html +33 -1
- package/docs/html/variables/injectOpenApiBaseUrlHttpInterceptorFn.html +33 -0
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/OpenApiConfigService.md +27 -27
- package/docs/markdown/classes/OpenApiHttpResponseError.md +26 -26
- package/docs/markdown/classes/RxapOpenApiError.md +25 -25
- package/docs/markdown/classes/SchemaValidationMixin.md +36 -30
- package/docs/markdown/functions/AssertOpenApiV3.md +3 -3
- package/docs/markdown/functions/IsOpenApiV3.md +3 -3
- package/docs/markdown/functions/IsReferenceObject.md +3 -3
- package/docs/markdown/functions/NotContainsReferenceObjects.md +7 -5
- package/docs/markdown/functions/OpenApiInit.md +5 -5
- package/docs/markdown/functions/getJsonContentSchema.md +5 -5
- package/docs/markdown/functions/getJsonSchema.md +5 -5
- package/docs/markdown/functions/hasJsonContentSchema.md +8 -6
- package/docs/markdown/functions/hasJsonSchema.md +3 -3
- package/docs/markdown/globals.md +3 -3
- package/docs/markdown/interfaces/OpenApiInitOptions.md +6 -6
- package/docs/markdown/interfaces/OpenApiMetaData.md +12 -12
- package/docs/markdown/interfaces/OperationObjectWithMetadata.md +15 -15
- package/docs/markdown/interfaces/SchemaValidationResponse.md +11 -9
- package/docs/markdown/type-aliases/OperationMap.md +3 -3
- 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 +2 -2
- package/docs/markdown/variables/OPEN_API_OPERATION_ID.md +2 -2
- package/docs/markdown/variables/OPEN_API_SERVER_ID.md +3 -3
- package/docs/markdown/variables/OPEN_API_SERVER_INDEX.md +2 -2
- 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/markdown/variables/injectOpenApiBaseUrlHttpInterceptorFn.md +11 -0
- package/docs/wiki/Class.OpenApiConfigService.md +26 -26
- package/docs/wiki/Class.OpenApiHttpResponseError.md +25 -25
- package/docs/wiki/Class.RxapOpenApiError.md +24 -24
- package/docs/wiki/Class.SchemaValidationMixin.md +35 -29
- package/docs/wiki/Function.AssertOpenApiV3.md +2 -2
- package/docs/wiki/Function.IsOpenApiV3.md +2 -2
- package/docs/wiki/Function.IsReferenceObject.md +2 -2
- package/docs/wiki/Function.NotContainsReferenceObjects.md +6 -4
- package/docs/wiki/Function.OpenApiInit.md +4 -4
- package/docs/wiki/Function.getJsonContentSchema.md +4 -4
- package/docs/wiki/Function.getJsonSchema.md +4 -4
- package/docs/wiki/Function.hasJsonContentSchema.md +7 -5
- package/docs/wiki/Function.hasJsonSchema.md +2 -2
- package/docs/wiki/Interface.OpenApiInitOptions.md +5 -5
- package/docs/wiki/Interface.OpenApiMetaData.md +11 -11
- package/docs/wiki/Interface.OperationObjectWithMetadata.md +14 -14
- package/docs/wiki/Interface.SchemaValidationResponse.md +10 -8
- package/docs/wiki/TypeAlias.OperationMap.md +2 -2
- 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 +1 -1
- package/docs/wiki/Variable.OPEN_API_OPERATION_ID.md +1 -1
- package/docs/wiki/Variable.OPEN_API_SERVER_ID.md +2 -2
- package/docs/wiki/Variable.OPEN_API_SERVER_INDEX.md +1 -1
- 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/Variable.injectOpenApiBaseUrlHttpInterceptorFn.md +7 -0
- package/docs/wiki/_Sidebar.md +1 -1
- package/docs/wiki/globals.md +2 -2
- package/fesm2022/rxap-open-api-data-source-table.mjs +212 -162
- package/fesm2022/rxap-open-api-data-source-table.mjs.map +1 -1
- package/fesm2022/rxap-open-api-data-source.mjs +243 -188
- package/fesm2022/rxap-open-api-data-source.mjs.map +1 -1
- package/fesm2022/rxap-open-api-http-resource.mjs +13 -38
- package/fesm2022/rxap-open-api-http-resource.mjs.map +1 -1
- package/fesm2022/rxap-open-api-remote-method.mjs +299 -263
- package/fesm2022/rxap-open-api-remote-method.mjs.map +1 -1
- package/fesm2022/rxap-open-api-testing.mjs +55 -82
- package/fesm2022/rxap-open-api-testing.mjs.map +1 -1
- package/fesm2022/rxap-open-api.mjs +439 -633
- package/fesm2022/rxap-open-api.mjs.map +1 -1
- package/package.json +30 -30
- package/types/rxap-open-api-data-source-table.d.ts +47 -40
- package/types/rxap-open-api-data-source.d.ts +58 -52
- package/types/rxap-open-api-http-resource.d.ts +13 -17
- package/types/rxap-open-api-remote-method.d.ts +89 -86
- package/types/rxap-open-api-testing.d.ts +25 -28
- package/types/rxap-open-api.d.ts +153 -162
- package/docs/html/functions/injectOpenApiBaseUrlHttpInterceptorFn.html +0 -1
- package/docs/markdown/functions/injectOpenApiBaseUrlHttpInterceptorFn.md +0 -25
- package/docs/wiki/Function.injectOpenApiBaseUrlHttpInterceptorFn.md +0 -21
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Class: OpenApiHttpResponseError
|
|
4
4
|
|
|
5
|
-
Defined in: [packages/angular/open-api/src/lib/open-api-http-response.error.ts:4](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [packages/angular/open-api/src/lib/open-api-http-response.error.ts:4](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/open-api/src/lib/open-api-http-response.error.ts#L4)
|
|
6
6
|
|
|
7
7
|
## Extends
|
|
8
8
|
|
|
@@ -10,11 +10,11 @@ Defined in: [packages/angular/open-api/src/lib/open-api-http-response.error.ts:4
|
|
|
10
10
|
|
|
11
11
|
## Constructors
|
|
12
12
|
|
|
13
|
-
###
|
|
13
|
+
### Constructor
|
|
14
14
|
|
|
15
|
-
> **new OpenApiHttpResponseError**(`httpErrorResponse`, `metadata`):
|
|
15
|
+
> **new OpenApiHttpResponseError**(`httpErrorResponse`, `metadata`): `OpenApiHttpResponseError`
|
|
16
16
|
|
|
17
|
-
Defined in: [packages/angular/open-api/src/lib/open-api-http-response.error.ts:6](https://gitlab.com/rxap/packages/-/blob/
|
|
17
|
+
Defined in: [packages/angular/open-api/src/lib/open-api-http-response.error.ts:6](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/open-api/src/lib/open-api-http-response.error.ts#L6)
|
|
18
18
|
|
|
19
19
|
#### Parameters
|
|
20
20
|
|
|
@@ -28,7 +28,7 @@ Defined in: [packages/angular/open-api/src/lib/open-api-http-response.error.ts:6
|
|
|
28
28
|
|
|
29
29
|
#### Returns
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
`OpenApiHttpResponseError`
|
|
32
32
|
|
|
33
33
|
#### Overrides
|
|
34
34
|
|
|
@@ -40,7 +40,7 @@ Defined in: [packages/angular/open-api/src/lib/open-api-http-response.error.ts:6
|
|
|
40
40
|
|
|
41
41
|
> `readonly` **error**: `any`
|
|
42
42
|
|
|
43
|
-
Defined in: node\_modules/@angular/common/types/\_module-chunk.d.ts:
|
|
43
|
+
Defined in: node\_modules/@angular/common/types/\_module-chunk.d.ts:848
|
|
44
44
|
|
|
45
45
|
#### Inherited from
|
|
46
46
|
|
|
@@ -52,7 +52,7 @@ Defined in: node\_modules/@angular/common/types/\_module-chunk.d.ts:956
|
|
|
52
52
|
|
|
53
53
|
> `readonly` **headers**: `HttpHeaders`
|
|
54
54
|
|
|
55
|
-
Defined in: node\_modules/@angular/common/types/\_module-chunk.d.ts:
|
|
55
|
+
Defined in: node\_modules/@angular/common/types/\_module-chunk.d.ts:689
|
|
56
56
|
|
|
57
57
|
All response headers.
|
|
58
58
|
|
|
@@ -66,7 +66,7 @@ All response headers.
|
|
|
66
66
|
|
|
67
67
|
> `readonly` **httpErrorResponse**: `HttpErrorResponse`
|
|
68
68
|
|
|
69
|
-
Defined in: [packages/angular/open-api/src/lib/open-api-http-response.error.ts:7](https://gitlab.com/rxap/packages/-/blob/
|
|
69
|
+
Defined in: [packages/angular/open-api/src/lib/open-api-http-response.error.ts:7](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/open-api/src/lib/open-api-http-response.error.ts#L7)
|
|
70
70
|
|
|
71
71
|
***
|
|
72
72
|
|
|
@@ -74,7 +74,7 @@ Defined in: [packages/angular/open-api/src/lib/open-api-http-response.error.ts:7
|
|
|
74
74
|
|
|
75
75
|
> `readonly` **message**: `string`
|
|
76
76
|
|
|
77
|
-
Defined in: node\_modules/@angular/common/types/\_module-chunk.d.ts:
|
|
77
|
+
Defined in: node\_modules/@angular/common/types/\_module-chunk.d.ts:847
|
|
78
78
|
|
|
79
79
|
#### Inherited from
|
|
80
80
|
|
|
@@ -86,7 +86,7 @@ Defined in: node\_modules/@angular/common/types/\_module-chunk.d.ts:955
|
|
|
86
86
|
|
|
87
87
|
> `readonly` **metadata**: [`OpenApiMetaData`](../wiki/Interface.OpenApiMetaData)
|
|
88
88
|
|
|
89
|
-
Defined in: [packages/angular/open-api/src/lib/open-api-http-response.error.ts:8](https://gitlab.com/rxap/packages/-/blob/
|
|
89
|
+
Defined in: [packages/angular/open-api/src/lib/open-api-http-response.error.ts:8](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/open-api/src/lib/open-api-http-response.error.ts#L8)
|
|
90
90
|
|
|
91
91
|
***
|
|
92
92
|
|
|
@@ -94,7 +94,7 @@ Defined in: [packages/angular/open-api/src/lib/open-api-http-response.error.ts:8
|
|
|
94
94
|
|
|
95
95
|
> `readonly` **name**: `"HttpErrorResponse"` = `"HttpErrorResponse"`
|
|
96
96
|
|
|
97
|
-
Defined in: node\_modules/@angular/common/types/\_module-chunk.d.ts:
|
|
97
|
+
Defined in: node\_modules/@angular/common/types/\_module-chunk.d.ts:846
|
|
98
98
|
|
|
99
99
|
#### Inherited from
|
|
100
100
|
|
|
@@ -106,7 +106,7 @@ Defined in: node\_modules/@angular/common/types/\_module-chunk.d.ts:954
|
|
|
106
106
|
|
|
107
107
|
> `readonly` **ok**: `false` = `false`
|
|
108
108
|
|
|
109
|
-
Defined in: node\_modules/@angular/common/types/\_module-chunk.d.ts:
|
|
109
|
+
Defined in: node\_modules/@angular/common/types/\_module-chunk.d.ts:852
|
|
110
110
|
|
|
111
111
|
Errors are never okay, even when the status code is in the 2xx success range.
|
|
112
112
|
|
|
@@ -118,9 +118,9 @@ Errors are never okay, even when the status code is in the 2xx success range.
|
|
|
118
118
|
|
|
119
119
|
### redirected?
|
|
120
120
|
|
|
121
|
-
> `readonly` `optional` **redirected
|
|
121
|
+
> `readonly` `optional` **redirected?**: `boolean`
|
|
122
122
|
|
|
123
|
-
Defined in: node\_modules/@angular/common/types/\_module-chunk.d.ts:
|
|
123
|
+
Defined in: node\_modules/@angular/common/types/\_module-chunk.d.ts:719
|
|
124
124
|
|
|
125
125
|
Indicates whether the HTTP response was redirected during the request.
|
|
126
126
|
This property is only available when using the Fetch API using `withFetch()`
|
|
@@ -134,9 +134,9 @@ When using the default XHR Request this property will be `undefined`
|
|
|
134
134
|
|
|
135
135
|
### responseType?
|
|
136
136
|
|
|
137
|
-
> `readonly` `optional` **responseType
|
|
137
|
+
> `readonly` `optional` **responseType?**: `ResponseType`
|
|
138
138
|
|
|
139
|
-
Defined in: node\_modules/@angular/common/types/\_module-chunk.d.ts:
|
|
139
|
+
Defined in: node\_modules/@angular/common/types/\_module-chunk.d.ts:733
|
|
140
140
|
|
|
141
141
|
Indicates the type of the HTTP response, based on how the request was made and how the browser handles the response.
|
|
142
142
|
|
|
@@ -160,7 +160,7 @@ When using Angular's (XHR) backend, this value will be `undefined`.
|
|
|
160
160
|
|
|
161
161
|
> `readonly` **status**: `number`
|
|
162
162
|
|
|
163
|
-
Defined in: node\_modules/@angular/common/types/\_module-chunk.d.ts:
|
|
163
|
+
Defined in: node\_modules/@angular/common/types/\_module-chunk.d.ts:693
|
|
164
164
|
|
|
165
165
|
Response status code.
|
|
166
166
|
|
|
@@ -174,7 +174,7 @@ Response status code.
|
|
|
174
174
|
|
|
175
175
|
> `readonly` **statusText**: `string`
|
|
176
176
|
|
|
177
|
-
Defined in: node\_modules/@angular/common/types/\_module-chunk.d.ts:
|
|
177
|
+
Defined in: node\_modules/@angular/common/types/\_module-chunk.d.ts:701
|
|
178
178
|
|
|
179
179
|
Textual description of response status code, defaults to OK.
|
|
180
180
|
|
|
@@ -194,7 +194,7 @@ With HTTP/2 and later versions, this will incorrectly remain set to 'OK' even wh
|
|
|
194
194
|
|
|
195
195
|
> `readonly` **type**: `ResponseHeader` \| `Response`
|
|
196
196
|
|
|
197
|
-
Defined in: node\_modules/@angular/common/types/\_module-chunk.d.ts:
|
|
197
|
+
Defined in: node\_modules/@angular/common/types/\_module-chunk.d.ts:713
|
|
198
198
|
|
|
199
199
|
Type of the response, narrowed to either the full response or the header.
|
|
200
200
|
|
|
@@ -206,9 +206,9 @@ Type of the response, narrowed to either the full response or the header.
|
|
|
206
206
|
|
|
207
207
|
### url
|
|
208
208
|
|
|
209
|
-
> `readonly` **url**: `
|
|
209
|
+
> `readonly` **url**: `string` \| `null`
|
|
210
210
|
|
|
211
|
-
Defined in: node\_modules/@angular/common/types/\_module-chunk.d.ts:
|
|
211
|
+
Defined in: node\_modules/@angular/common/types/\_module-chunk.d.ts:705
|
|
212
212
|
|
|
213
213
|
URL of the resource retrieved, or null if not available.
|
|
214
214
|
|
|
@@ -224,7 +224,7 @@ URL of the resource retrieved, or null if not available.
|
|
|
224
224
|
|
|
225
225
|
> **get** **operationId**(): `string`
|
|
226
226
|
|
|
227
|
-
Defined in: [packages/angular/open-api/src/lib/open-api-http-response.error.ts:23](https://gitlab.com/rxap/packages/-/blob/
|
|
227
|
+
Defined in: [packages/angular/open-api/src/lib/open-api-http-response.error.ts:23](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/open-api/src/lib/open-api-http-response.error.ts#L23)
|
|
228
228
|
|
|
229
229
|
##### Returns
|
|
230
230
|
|
|
@@ -236,10 +236,10 @@ Defined in: [packages/angular/open-api/src/lib/open-api-http-response.error.ts:2
|
|
|
236
236
|
|
|
237
237
|
#### Get Signature
|
|
238
238
|
|
|
239
|
-
> **get** **serverId**(): `
|
|
239
|
+
> **get** **serverId**(): `string` \| `undefined`
|
|
240
240
|
|
|
241
|
-
Defined in: [packages/angular/open-api/src/lib/open-api-http-response.error.ts:27](https://gitlab.com/rxap/packages/-/blob/
|
|
241
|
+
Defined in: [packages/angular/open-api/src/lib/open-api-http-response.error.ts:27](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/open-api/src/lib/open-api-http-response.error.ts#L27)
|
|
242
242
|
|
|
243
243
|
##### Returns
|
|
244
244
|
|
|
245
|
-
`
|
|
245
|
+
`string` \| `undefined`
|
|
@@ -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/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/open-api/src/lib/error.ts#L3)
|
|
6
6
|
|
|
7
7
|
## Extends
|
|
8
8
|
|
|
@@ -10,11 +10,11 @@ Defined in: [packages/angular/open-api/src/lib/error.ts:3](https://gitlab.com/rx
|
|
|
10
10
|
|
|
11
11
|
## Constructors
|
|
12
12
|
|
|
13
|
-
###
|
|
13
|
+
### Constructor
|
|
14
14
|
|
|
15
|
-
> **new RxapOpenApiError**(`message`, `code
|
|
15
|
+
> **new RxapOpenApiError**(`message`, `code?`, `scope?`): `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/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/open-api/src/lib/error.ts#L5)
|
|
18
18
|
|
|
19
19
|
#### Parameters
|
|
20
20
|
|
|
@@ -32,7 +32,7 @@ Defined in: [packages/angular/open-api/src/lib/error.ts:5](https://gitlab.com/rx
|
|
|
32
32
|
|
|
33
33
|
#### Returns
|
|
34
34
|
|
|
35
|
-
|
|
35
|
+
`RxapOpenApiError`
|
|
36
36
|
|
|
37
37
|
#### Overrides
|
|
38
38
|
|
|
@@ -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/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/utilities/src/lib/error.ts#L6)
|
|
48
48
|
|
|
49
49
|
#### Inherited from
|
|
50
50
|
|
|
@@ -54,9 +54,9 @@ Defined in: [packages/utilities/src/lib/error.ts:6](https://gitlab.com/rxap/pack
|
|
|
54
54
|
|
|
55
55
|
### cause?
|
|
56
56
|
|
|
57
|
-
> `optional` **cause
|
|
57
|
+
> `optional` **cause?**: `unknown`
|
|
58
58
|
|
|
59
|
-
Defined in: node\_modules/typescript/lib/lib.es2022.error.d.ts:
|
|
59
|
+
Defined in: node\_modules/typescript/lib/lib.es2022.error.d.ts:24
|
|
60
60
|
|
|
61
61
|
#### Inherited from
|
|
62
62
|
|
|
@@ -66,9 +66,9 @@ Defined in: node\_modules/typescript/lib/lib.es2022.error.d.ts:26
|
|
|
66
66
|
|
|
67
67
|
### code?
|
|
68
68
|
|
|
69
|
-
> `readonly` `optional` **code
|
|
69
|
+
> `readonly` `optional` **code?**: `string`
|
|
70
70
|
|
|
71
|
-
Defined in: [packages/utilities/src/lib/error.ts:8](https://gitlab.com/rxap/packages/-/blob/
|
|
71
|
+
Defined in: [packages/utilities/src/lib/error.ts:8](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/utilities/src/lib/error.ts#L8)
|
|
72
72
|
|
|
73
73
|
#### Inherited from
|
|
74
74
|
|
|
@@ -80,7 +80,7 @@ Defined in: [packages/utilities/src/lib/error.ts:8](https://gitlab.com/rxap/pack
|
|
|
80
80
|
|
|
81
81
|
> **message**: `string`
|
|
82
82
|
|
|
83
|
-
Defined in: node\_modules/typescript/lib/lib.es5.d.ts:
|
|
83
|
+
Defined in: node\_modules/typescript/lib/lib.es5.d.ts:1075
|
|
84
84
|
|
|
85
85
|
#### Inherited from
|
|
86
86
|
|
|
@@ -92,7 +92,7 @@ Defined in: node\_modules/typescript/lib/lib.es5.d.ts:1077
|
|
|
92
92
|
|
|
93
93
|
> **name**: `string`
|
|
94
94
|
|
|
95
|
-
Defined in: node\_modules/typescript/lib/lib.es5.d.ts:
|
|
95
|
+
Defined in: node\_modules/typescript/lib/lib.es5.d.ts:1074
|
|
96
96
|
|
|
97
97
|
#### Inherited from
|
|
98
98
|
|
|
@@ -102,9 +102,9 @@ Defined in: node\_modules/typescript/lib/lib.es5.d.ts:1076
|
|
|
102
102
|
|
|
103
103
|
### scope?
|
|
104
104
|
|
|
105
|
-
> `readonly` `optional` **scope
|
|
105
|
+
> `readonly` `optional` **scope?**: `string`
|
|
106
106
|
|
|
107
|
-
Defined in: [packages/utilities/src/lib/error.ts:9](https://gitlab.com/rxap/packages/-/blob/
|
|
107
|
+
Defined in: [packages/utilities/src/lib/error.ts:9](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/utilities/src/lib/error.ts#L9)
|
|
108
108
|
|
|
109
109
|
#### Inherited from
|
|
110
110
|
|
|
@@ -114,9 +114,9 @@ Defined in: [packages/utilities/src/lib/error.ts:9](https://gitlab.com/rxap/pack
|
|
|
114
114
|
|
|
115
115
|
### stack?
|
|
116
116
|
|
|
117
|
-
> `readonly` `optional` **stack
|
|
117
|
+
> `readonly` `optional` **stack?**: `string`
|
|
118
118
|
|
|
119
|
-
Defined in: [packages/utilities/src/lib/error.ts:10](https://gitlab.com/rxap/packages/-/blob/
|
|
119
|
+
Defined in: [packages/utilities/src/lib/error.ts:10](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/utilities/src/lib/error.ts#L10)
|
|
120
120
|
|
|
121
121
|
#### Inherited from
|
|
122
122
|
|
|
@@ -128,13 +128,13 @@ Defined in: [packages/utilities/src/lib/error.ts:10](https://gitlab.com/rxap/pac
|
|
|
128
128
|
|
|
129
129
|
#### Get Signature
|
|
130
130
|
|
|
131
|
-
> **get** **className**(): `
|
|
131
|
+
> **get** **className**(): `string` \| `undefined`
|
|
132
132
|
|
|
133
|
-
Defined in: [packages/utilities/src/lib/error.ts:27](https://gitlab.com/rxap/packages/-/blob/
|
|
133
|
+
Defined in: [packages/utilities/src/lib/error.ts:27](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/utilities/src/lib/error.ts#L27)
|
|
134
134
|
|
|
135
135
|
##### Returns
|
|
136
136
|
|
|
137
|
-
`
|
|
137
|
+
`string` \| `undefined`
|
|
138
138
|
|
|
139
139
|
#### Inherited from
|
|
140
140
|
|
|
@@ -148,7 +148,7 @@ Defined in: [packages/utilities/src/lib/error.ts:27](https://gitlab.com/rxap/pac
|
|
|
148
148
|
|
|
149
149
|
> **get** **packageName**(): `string`
|
|
150
150
|
|
|
151
|
-
Defined in: [packages/utilities/src/lib/error.ts:23](https://gitlab.com/rxap/packages/-/blob/
|
|
151
|
+
Defined in: [packages/utilities/src/lib/error.ts:23](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/utilities/src/lib/error.ts#L23)
|
|
152
152
|
|
|
153
153
|
##### Returns
|
|
154
154
|
|
|
@@ -164,7 +164,7 @@ Defined in: [packages/utilities/src/lib/error.ts:23](https://gitlab.com/rxap/pac
|
|
|
164
164
|
|
|
165
165
|
> `protected` **addSubPackageName**(`subPackageName`): `void`
|
|
166
166
|
|
|
167
|
-
Defined in: [packages/utilities/src/lib/error.ts:68](https://gitlab.com/rxap/packages/-/blob/
|
|
167
|
+
Defined in: [packages/utilities/src/lib/error.ts:68](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/utilities/src/lib/error.ts#L68)
|
|
168
168
|
|
|
169
169
|
**`Internal`**
|
|
170
170
|
|
|
@@ -199,7 +199,7 @@ removed
|
|
|
199
199
|
|
|
200
200
|
> `protected` **setPackageName**(`packageName`): `void`
|
|
201
201
|
|
|
202
|
-
Defined in: [packages/utilities/src/lib/error.ts:78](https://gitlab.com/rxap/packages/-/blob/
|
|
202
|
+
Defined in: [packages/utilities/src/lib/error.ts:78](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/utilities/src/lib/error.ts#L78)
|
|
203
203
|
|
|
204
204
|
**`Internal`**
|
|
205
205
|
|
|
@@ -227,7 +227,7 @@ The new package name
|
|
|
227
227
|
|
|
228
228
|
> `protected` **setSubPackageName**(`subPackageName`): `void`
|
|
229
229
|
|
|
230
|
-
Defined in: [packages/utilities/src/lib/error.ts:53](https://gitlab.com/rxap/packages/-/blob/
|
|
230
|
+
Defined in: [packages/utilities/src/lib/error.ts:53](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/utilities/src/lib/error.ts#L53)
|
|
231
231
|
|
|
232
232
|
**`Internal`**
|
|
233
233
|
|
|
@@ -262,7 +262,7 @@ use addSubPackageName instead
|
|
|
262
262
|
|
|
263
263
|
> **toJSON**(): `object`
|
|
264
264
|
|
|
265
|
-
Defined in: [packages/utilities/src/lib/error.ts:31](https://gitlab.com/rxap/packages/-/blob/
|
|
265
|
+
Defined in: [packages/utilities/src/lib/error.ts:31](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/utilities/src/lib/error.ts#L31)
|
|
266
266
|
|
|
267
267
|
#### Returns
|
|
268
268
|
|
|
@@ -2,33 +2,39 @@
|
|
|
2
2
|
|
|
3
3
|
# Class: SchemaValidationMixin\<Response, Parameters, RequestBody\>
|
|
4
4
|
|
|
5
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:33](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:33](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L33)
|
|
6
6
|
|
|
7
7
|
## Type Parameters
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
### Response
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
`Response` = `any`
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
### Parameters
|
|
14
|
+
|
|
15
|
+
`Parameters` *extends* `Record`\<`string`, `any`\> \| `void` = `any`
|
|
16
|
+
|
|
17
|
+
### RequestBody
|
|
18
|
+
|
|
19
|
+
`RequestBody` = `any`
|
|
14
20
|
|
|
15
21
|
## Constructors
|
|
16
22
|
|
|
17
|
-
###
|
|
23
|
+
### Constructor
|
|
18
24
|
|
|
19
|
-
> **new SchemaValidationMixin**\<`Response`, `Parameters`, `RequestBody`\>():
|
|
25
|
+
> **new SchemaValidationMixin**\<`Response`, `Parameters`, `RequestBody`\>(): `SchemaValidationMixin`\<`Response`, `Parameters`, `RequestBody`\>
|
|
20
26
|
|
|
21
27
|
#### Returns
|
|
22
28
|
|
|
23
|
-
|
|
29
|
+
`SchemaValidationMixin`\<`Response`, `Parameters`, `RequestBody`\>
|
|
24
30
|
|
|
25
31
|
## Properties
|
|
26
32
|
|
|
27
33
|
### disableSchemaValidation?
|
|
28
34
|
|
|
29
|
-
> `protected` `optional` **disableSchemaValidation
|
|
35
|
+
> `protected` `optional` **disableSchemaValidation?**: `boolean`
|
|
30
36
|
|
|
31
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:37](https://gitlab.com/rxap/packages/-/blob/
|
|
37
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:37](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L37)
|
|
32
38
|
|
|
33
39
|
***
|
|
34
40
|
|
|
@@ -36,15 +42,15 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:37](ht
|
|
|
36
42
|
|
|
37
43
|
> `static` **STRICT**: `boolean` = `false`
|
|
38
44
|
|
|
39
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:35](https://gitlab.com/rxap/packages/-/blob/
|
|
45
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:35](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L35)
|
|
40
46
|
|
|
41
47
|
## Methods
|
|
42
48
|
|
|
43
49
|
### buildHttpHeaders()
|
|
44
50
|
|
|
45
|
-
> **buildHttpHeaders**(`operationParameters`, `parameters
|
|
51
|
+
> **buildHttpHeaders**(`operationParameters`, `parameters?`): `HttpHeaders`
|
|
46
52
|
|
|
47
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:297](https://gitlab.com/rxap/packages/-/blob/
|
|
53
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:297](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L297)
|
|
48
54
|
|
|
49
55
|
#### Parameters
|
|
50
56
|
|
|
@@ -64,9 +70,9 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:297](h
|
|
|
64
70
|
|
|
65
71
|
### buildHttpOptions()
|
|
66
72
|
|
|
67
|
-
> **buildHttpOptions**(`operation`, `parameters
|
|
73
|
+
> **buildHttpOptions**(`operation`, `parameters?`, `requestBody?`, `ignoreUndefined?`): `HttpRemoteMethodParameter`
|
|
68
74
|
|
|
69
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:381](https://gitlab.com/rxap/packages/-/blob/
|
|
75
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:381](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L381)
|
|
70
76
|
|
|
71
77
|
Converts open api parameters into the corresponding http options to
|
|
72
78
|
create a http request. The transformation is guided by the openapi definition
|
|
@@ -97,9 +103,9 @@ create a http request. The transformation is guided by the openapi definition
|
|
|
97
103
|
|
|
98
104
|
### buildHttpParams()
|
|
99
105
|
|
|
100
|
-
> **buildHttpParams**(`operationParameters`, `parameters
|
|
106
|
+
> **buildHttpParams**(`operationParameters`, `parameters?`, `ignoreUndefined?`): `HttpParams`
|
|
101
107
|
|
|
102
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:248](https://gitlab.com/rxap/packages/-/blob/
|
|
108
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:248](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L248)
|
|
103
109
|
|
|
104
110
|
#### Parameters
|
|
105
111
|
|
|
@@ -123,9 +129,9 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:248](h
|
|
|
123
129
|
|
|
124
130
|
### buildHttpPathParams()
|
|
125
131
|
|
|
126
|
-
> **buildHttpPathParams**(`operationParameters`, `parameters
|
|
132
|
+
> **buildHttpPathParams**(`operationParameters`, `parameters?`): `Record`\<`string`, `string`\>
|
|
127
133
|
|
|
128
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:332](https://gitlab.com/rxap/packages/-/blob/
|
|
134
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:332](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L332)
|
|
129
135
|
|
|
130
136
|
#### Parameters
|
|
131
137
|
|
|
@@ -147,7 +153,7 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:332](h
|
|
|
147
153
|
|
|
148
154
|
> `protected` **normalizePathParamValue**(`value`, `paramName`): `string`
|
|
149
155
|
|
|
150
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:355](https://gitlab.com/rxap/packages/-/blob/
|
|
156
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:355](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L355)
|
|
151
157
|
|
|
152
158
|
#### Parameters
|
|
153
159
|
|
|
@@ -167,9 +173,9 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:355](h
|
|
|
167
173
|
|
|
168
174
|
### validateParameters()
|
|
169
175
|
|
|
170
|
-
> `protected` **validateParameters**(`operation`, `parameters
|
|
176
|
+
> `protected` **validateParameters**(`operation`, `parameters?`, `strict?`): `void`
|
|
171
177
|
|
|
172
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:47](https://gitlab.com/rxap/packages/-/blob/
|
|
178
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:47](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L47)
|
|
173
179
|
|
|
174
180
|
Validates the parameters against the schema specified in the operation object
|
|
175
181
|
|
|
@@ -195,9 +201,9 @@ Validates the parameters against the schema specified in the operation object
|
|
|
195
201
|
|
|
196
202
|
### validateRequestBody()
|
|
197
203
|
|
|
198
|
-
> **validateRequestBody**(`operation`, `body
|
|
204
|
+
> **validateRequestBody**(`operation`, `body?`, `strict?`): `void`
|
|
199
205
|
|
|
200
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:193](https://gitlab.com/rxap/packages/-/blob/
|
|
206
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:193](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L193)
|
|
201
207
|
|
|
202
208
|
#### Parameters
|
|
203
209
|
|
|
@@ -221,9 +227,9 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:193](h
|
|
|
221
227
|
|
|
222
228
|
### validateResponse()
|
|
223
229
|
|
|
224
|
-
> `protected` **validateResponse**(`operation`, `response`, `strict
|
|
230
|
+
> `protected` **validateResponse**(`operation`, `response`, `strict?`): `void`
|
|
225
231
|
|
|
226
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:124](https://gitlab.com/rxap/packages/-/blob/
|
|
232
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:124](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L124)
|
|
227
233
|
|
|
228
234
|
Validates the http response against the schema specified in the operation object
|
|
229
235
|
|
|
@@ -237,7 +243,7 @@ Validates the http response against the schema specified in the operation object
|
|
|
237
243
|
|
|
238
244
|
[`SchemaValidationResponse`](../wiki/Interface.SchemaValidationResponse)\<`Response`\>
|
|
239
245
|
|
|
240
|
-
##### strict
|
|
246
|
+
##### strict?
|
|
241
247
|
|
|
242
248
|
`boolean` = `false`
|
|
243
249
|
|
|
@@ -249,9 +255,9 @@ Validates the http response against the schema specified in the operation object
|
|
|
249
255
|
|
|
250
256
|
### validationError()
|
|
251
257
|
|
|
252
|
-
> **validationError**(`message`, `strict`, `schema
|
|
258
|
+
> **validationError**(`message`, `strict`, `schema?`, `value?`): `void`
|
|
253
259
|
|
|
254
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:226](https://gitlab.com/rxap/packages/-/blob/
|
|
260
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:226](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L226)
|
|
255
261
|
|
|
256
262
|
#### Parameters
|
|
257
263
|
|
|
@@ -265,7 +271,7 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:226](h
|
|
|
265
271
|
|
|
266
272
|
##### schema?
|
|
267
273
|
|
|
268
|
-
`ReferenceObject`
|
|
274
|
+
`ReferenceObject` \| `SchemaObject`
|
|
269
275
|
|
|
270
276
|
##### value?
|
|
271
277
|
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
# Function: AssertOpenApiV3()
|
|
4
4
|
|
|
5
|
-
> **AssertOpenApiV3**(`obj
|
|
5
|
+
> **AssertOpenApiV3**(`obj?`): `asserts obj is Document<{}>`
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/open-api/src/lib/utilities.ts:18](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/utilities.ts:18](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/open-api/src/lib/utilities.ts#L18)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
# Function: IsOpenApiV3()
|
|
4
4
|
|
|
5
|
-
> **IsOpenApiV3**(`obj
|
|
5
|
+
> **IsOpenApiV3**(`obj?`): `obj is Document<{}>`
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/open-api/src/lib/utilities.ts:14](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/utilities.ts:14](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/open-api/src/lib/utilities.ts#L14)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
# Function: IsReferenceObject()
|
|
4
4
|
|
|
5
|
-
> **IsReferenceObject**(`obj
|
|
5
|
+
> **IsReferenceObject**(`obj?`): `obj is ReferenceObject`
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/open-api/src/lib/utilities.ts:6](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/utilities.ts:6](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/open-api/src/lib/utilities.ts#L6)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -2,19 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
# Function: NotContainsReferenceObjects()
|
|
4
4
|
|
|
5
|
-
> **NotContainsReferenceObjects**\<`T`\>(`array
|
|
5
|
+
> **NotContainsReferenceObjects**\<`T`\>(`array?`): `array is T[]`
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/open-api/src/lib/utilities.ts:10](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/utilities.ts:10](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/open-api/src/lib/utilities.ts#L10)
|
|
8
8
|
|
|
9
9
|
## Type Parameters
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
### T
|
|
12
|
+
|
|
13
|
+
`T`
|
|
12
14
|
|
|
13
15
|
## Parameters
|
|
14
16
|
|
|
15
17
|
### array?
|
|
16
18
|
|
|
17
|
-
(`
|
|
19
|
+
(`ReferenceObject` \| `T` \| `undefined`)[]
|
|
18
20
|
|
|
19
21
|
## Returns
|
|
20
22
|
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
# Function: OpenApiInit()
|
|
4
4
|
|
|
5
|
-
> **OpenApiInit**(`environment`, `options
|
|
5
|
+
> **OpenApiInit**(`environment`, `options?`): `Promise`\<`void`\> \| `undefined`
|
|
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/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/open-api/src/lib/open-api-init.ts#L20)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -12,10 +12,10 @@ Defined in: [packages/angular/open-api/src/lib/open-api-init.ts:20](https://gitl
|
|
|
12
12
|
|
|
13
13
|
`Environment`
|
|
14
14
|
|
|
15
|
-
### options
|
|
15
|
+
### options?
|
|
16
16
|
|
|
17
17
|
[`OpenApiInitOptions`](../wiki/Interface.OpenApiInitOptions) = `{}`
|
|
18
18
|
|
|
19
19
|
## Returns
|
|
20
20
|
|
|
21
|
-
`
|
|
21
|
+
`Promise`\<`void`\> \| `undefined`
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
# Function: getJsonContentSchema()
|
|
4
4
|
|
|
5
|
-
> **getJsonContentSchema**(`data`): `
|
|
5
|
+
> **getJsonContentSchema**(`data`): `SchemaObject` \| `null`
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/open-api/src/lib/utilities.ts:32](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/utilities.ts:32](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/open-api/src/lib/utilities.ts#L32)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
11
11
|
### data
|
|
12
12
|
|
|
13
|
-
`RequestBodyObject`
|
|
13
|
+
`RequestBodyObject` \| `ResponseObject`
|
|
14
14
|
|
|
15
15
|
## Returns
|
|
16
16
|
|
|
17
|
-
`
|
|
17
|
+
`SchemaObject` \| `null`
|