@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/open-api
|
|
1
|
+
[**@rxap/open-api v22.0.0-dev.1**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
# Class: RxapOpenApiError
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/angular/open-api/src/lib/error.ts:3](https://gitlab.com/rxap/packages/-/blob/
|
|
9
|
+
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)
|
|
10
10
|
|
|
11
11
|
## Extends
|
|
12
12
|
|
|
@@ -14,11 +14,11 @@ Defined in: [packages/angular/open-api/src/lib/error.ts:3](https://gitlab.com/rx
|
|
|
14
14
|
|
|
15
15
|
## Constructors
|
|
16
16
|
|
|
17
|
-
###
|
|
17
|
+
### Constructor
|
|
18
18
|
|
|
19
|
-
> **new RxapOpenApiError**(`message`, `code
|
|
19
|
+
> **new RxapOpenApiError**(`message`, `code?`, `scope?`): `RxapOpenApiError`
|
|
20
20
|
|
|
21
|
-
Defined in: [packages/angular/open-api/src/lib/error.ts:5](https://gitlab.com/rxap/packages/-/blob/
|
|
21
|
+
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)
|
|
22
22
|
|
|
23
23
|
#### Parameters
|
|
24
24
|
|
|
@@ -36,7 +36,7 @@ Defined in: [packages/angular/open-api/src/lib/error.ts:5](https://gitlab.com/rx
|
|
|
36
36
|
|
|
37
37
|
#### Returns
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
`RxapOpenApiError`
|
|
40
40
|
|
|
41
41
|
#### Overrides
|
|
42
42
|
|
|
@@ -48,7 +48,7 @@ Defined in: [packages/angular/open-api/src/lib/error.ts:5](https://gitlab.com/rx
|
|
|
48
48
|
|
|
49
49
|
> `protected` **\_packageName**: `string`
|
|
50
50
|
|
|
51
|
-
Defined in: [packages/utilities/src/lib/error.ts:6](https://gitlab.com/rxap/packages/-/blob/
|
|
51
|
+
Defined in: [packages/utilities/src/lib/error.ts:6](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/utilities/src/lib/error.ts#L6)
|
|
52
52
|
|
|
53
53
|
#### Inherited from
|
|
54
54
|
|
|
@@ -58,9 +58,9 @@ Defined in: [packages/utilities/src/lib/error.ts:6](https://gitlab.com/rxap/pack
|
|
|
58
58
|
|
|
59
59
|
### cause?
|
|
60
60
|
|
|
61
|
-
> `optional` **cause
|
|
61
|
+
> `optional` **cause?**: `unknown`
|
|
62
62
|
|
|
63
|
-
Defined in: node\_modules/typescript/lib/lib.es2022.error.d.ts:
|
|
63
|
+
Defined in: node\_modules/typescript/lib/lib.es2022.error.d.ts:24
|
|
64
64
|
|
|
65
65
|
#### Inherited from
|
|
66
66
|
|
|
@@ -70,9 +70,9 @@ Defined in: node\_modules/typescript/lib/lib.es2022.error.d.ts:26
|
|
|
70
70
|
|
|
71
71
|
### code?
|
|
72
72
|
|
|
73
|
-
> `readonly` `optional` **code
|
|
73
|
+
> `readonly` `optional` **code?**: `string`
|
|
74
74
|
|
|
75
|
-
Defined in: [packages/utilities/src/lib/error.ts:8](https://gitlab.com/rxap/packages/-/blob/
|
|
75
|
+
Defined in: [packages/utilities/src/lib/error.ts:8](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/utilities/src/lib/error.ts#L8)
|
|
76
76
|
|
|
77
77
|
#### Inherited from
|
|
78
78
|
|
|
@@ -84,7 +84,7 @@ Defined in: [packages/utilities/src/lib/error.ts:8](https://gitlab.com/rxap/pack
|
|
|
84
84
|
|
|
85
85
|
> **message**: `string`
|
|
86
86
|
|
|
87
|
-
Defined in: node\_modules/typescript/lib/lib.es5.d.ts:
|
|
87
|
+
Defined in: node\_modules/typescript/lib/lib.es5.d.ts:1075
|
|
88
88
|
|
|
89
89
|
#### Inherited from
|
|
90
90
|
|
|
@@ -96,7 +96,7 @@ Defined in: node\_modules/typescript/lib/lib.es5.d.ts:1077
|
|
|
96
96
|
|
|
97
97
|
> **name**: `string`
|
|
98
98
|
|
|
99
|
-
Defined in: node\_modules/typescript/lib/lib.es5.d.ts:
|
|
99
|
+
Defined in: node\_modules/typescript/lib/lib.es5.d.ts:1074
|
|
100
100
|
|
|
101
101
|
#### Inherited from
|
|
102
102
|
|
|
@@ -106,9 +106,9 @@ Defined in: node\_modules/typescript/lib/lib.es5.d.ts:1076
|
|
|
106
106
|
|
|
107
107
|
### scope?
|
|
108
108
|
|
|
109
|
-
> `readonly` `optional` **scope
|
|
109
|
+
> `readonly` `optional` **scope?**: `string`
|
|
110
110
|
|
|
111
|
-
Defined in: [packages/utilities/src/lib/error.ts:9](https://gitlab.com/rxap/packages/-/blob/
|
|
111
|
+
Defined in: [packages/utilities/src/lib/error.ts:9](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/utilities/src/lib/error.ts#L9)
|
|
112
112
|
|
|
113
113
|
#### Inherited from
|
|
114
114
|
|
|
@@ -118,9 +118,9 @@ Defined in: [packages/utilities/src/lib/error.ts:9](https://gitlab.com/rxap/pack
|
|
|
118
118
|
|
|
119
119
|
### stack?
|
|
120
120
|
|
|
121
|
-
> `readonly` `optional` **stack
|
|
121
|
+
> `readonly` `optional` **stack?**: `string`
|
|
122
122
|
|
|
123
|
-
Defined in: [packages/utilities/src/lib/error.ts:10](https://gitlab.com/rxap/packages/-/blob/
|
|
123
|
+
Defined in: [packages/utilities/src/lib/error.ts:10](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/utilities/src/lib/error.ts#L10)
|
|
124
124
|
|
|
125
125
|
#### Inherited from
|
|
126
126
|
|
|
@@ -132,13 +132,13 @@ Defined in: [packages/utilities/src/lib/error.ts:10](https://gitlab.com/rxap/pac
|
|
|
132
132
|
|
|
133
133
|
#### Get Signature
|
|
134
134
|
|
|
135
|
-
> **get** **className**(): `
|
|
135
|
+
> **get** **className**(): `string` \| `undefined`
|
|
136
136
|
|
|
137
|
-
Defined in: [packages/utilities/src/lib/error.ts:27](https://gitlab.com/rxap/packages/-/blob/
|
|
137
|
+
Defined in: [packages/utilities/src/lib/error.ts:27](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/utilities/src/lib/error.ts#L27)
|
|
138
138
|
|
|
139
139
|
##### Returns
|
|
140
140
|
|
|
141
|
-
`
|
|
141
|
+
`string` \| `undefined`
|
|
142
142
|
|
|
143
143
|
#### Inherited from
|
|
144
144
|
|
|
@@ -152,7 +152,7 @@ Defined in: [packages/utilities/src/lib/error.ts:27](https://gitlab.com/rxap/pac
|
|
|
152
152
|
|
|
153
153
|
> **get** **packageName**(): `string`
|
|
154
154
|
|
|
155
|
-
Defined in: [packages/utilities/src/lib/error.ts:23](https://gitlab.com/rxap/packages/-/blob/
|
|
155
|
+
Defined in: [packages/utilities/src/lib/error.ts:23](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/utilities/src/lib/error.ts#L23)
|
|
156
156
|
|
|
157
157
|
##### Returns
|
|
158
158
|
|
|
@@ -168,7 +168,7 @@ Defined in: [packages/utilities/src/lib/error.ts:23](https://gitlab.com/rxap/pac
|
|
|
168
168
|
|
|
169
169
|
> `protected` **addSubPackageName**(`subPackageName`): `void`
|
|
170
170
|
|
|
171
|
-
Defined in: [packages/utilities/src/lib/error.ts:68](https://gitlab.com/rxap/packages/-/blob/
|
|
171
|
+
Defined in: [packages/utilities/src/lib/error.ts:68](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/utilities/src/lib/error.ts#L68)
|
|
172
172
|
|
|
173
173
|
**`Internal`**
|
|
174
174
|
|
|
@@ -203,7 +203,7 @@ removed
|
|
|
203
203
|
|
|
204
204
|
> `protected` **setPackageName**(`packageName`): `void`
|
|
205
205
|
|
|
206
|
-
Defined in: [packages/utilities/src/lib/error.ts:78](https://gitlab.com/rxap/packages/-/blob/
|
|
206
|
+
Defined in: [packages/utilities/src/lib/error.ts:78](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/utilities/src/lib/error.ts#L78)
|
|
207
207
|
|
|
208
208
|
**`Internal`**
|
|
209
209
|
|
|
@@ -231,7 +231,7 @@ The new package name
|
|
|
231
231
|
|
|
232
232
|
> `protected` **setSubPackageName**(`subPackageName`): `void`
|
|
233
233
|
|
|
234
|
-
Defined in: [packages/utilities/src/lib/error.ts:53](https://gitlab.com/rxap/packages/-/blob/
|
|
234
|
+
Defined in: [packages/utilities/src/lib/error.ts:53](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/utilities/src/lib/error.ts#L53)
|
|
235
235
|
|
|
236
236
|
**`Internal`**
|
|
237
237
|
|
|
@@ -266,7 +266,7 @@ use addSubPackageName instead
|
|
|
266
266
|
|
|
267
267
|
> **toJSON**(): `object`
|
|
268
268
|
|
|
269
|
-
Defined in: [packages/utilities/src/lib/error.ts:31](https://gitlab.com/rxap/packages/-/blob/
|
|
269
|
+
Defined in: [packages/utilities/src/lib/error.ts:31](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/utilities/src/lib/error.ts#L31)
|
|
270
270
|
|
|
271
271
|
#### Returns
|
|
272
272
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/open-api
|
|
1
|
+
[**@rxap/open-api v22.0.0-dev.1**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -6,33 +6,39 @@
|
|
|
6
6
|
|
|
7
7
|
# Class: SchemaValidationMixin\<Response, Parameters, RequestBody\>
|
|
8
8
|
|
|
9
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:33](https://gitlab.com/rxap/packages/-/blob/
|
|
9
|
+
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)
|
|
10
10
|
|
|
11
11
|
## Type Parameters
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
### Response
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
`Response` = `any`
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
### Parameters
|
|
18
|
+
|
|
19
|
+
`Parameters` *extends* `Record`\<`string`, `any`\> \| `void` = `any`
|
|
20
|
+
|
|
21
|
+
### RequestBody
|
|
22
|
+
|
|
23
|
+
`RequestBody` = `any`
|
|
18
24
|
|
|
19
25
|
## Constructors
|
|
20
26
|
|
|
21
|
-
###
|
|
27
|
+
### Constructor
|
|
22
28
|
|
|
23
|
-
> **new SchemaValidationMixin**\<`Response`, `Parameters`, `RequestBody`\>():
|
|
29
|
+
> **new SchemaValidationMixin**\<`Response`, `Parameters`, `RequestBody`\>(): `SchemaValidationMixin`\<`Response`, `Parameters`, `RequestBody`\>
|
|
24
30
|
|
|
25
31
|
#### Returns
|
|
26
32
|
|
|
27
|
-
|
|
33
|
+
`SchemaValidationMixin`\<`Response`, `Parameters`, `RequestBody`\>
|
|
28
34
|
|
|
29
35
|
## Properties
|
|
30
36
|
|
|
31
37
|
### disableSchemaValidation?
|
|
32
38
|
|
|
33
|
-
> `protected` `optional` **disableSchemaValidation
|
|
39
|
+
> `protected` `optional` **disableSchemaValidation?**: `boolean`
|
|
34
40
|
|
|
35
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:37](https://gitlab.com/rxap/packages/-/blob/
|
|
41
|
+
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)
|
|
36
42
|
|
|
37
43
|
***
|
|
38
44
|
|
|
@@ -40,15 +46,15 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:37](ht
|
|
|
40
46
|
|
|
41
47
|
> `static` **STRICT**: `boolean` = `false`
|
|
42
48
|
|
|
43
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:35](https://gitlab.com/rxap/packages/-/blob/
|
|
49
|
+
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)
|
|
44
50
|
|
|
45
51
|
## Methods
|
|
46
52
|
|
|
47
53
|
### buildHttpHeaders()
|
|
48
54
|
|
|
49
|
-
> **buildHttpHeaders**(`operationParameters`, `parameters
|
|
55
|
+
> **buildHttpHeaders**(`operationParameters`, `parameters?`): `HttpHeaders`
|
|
50
56
|
|
|
51
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:297](https://gitlab.com/rxap/packages/-/blob/
|
|
57
|
+
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)
|
|
52
58
|
|
|
53
59
|
#### Parameters
|
|
54
60
|
|
|
@@ -68,9 +74,9 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:297](h
|
|
|
68
74
|
|
|
69
75
|
### buildHttpOptions()
|
|
70
76
|
|
|
71
|
-
> **buildHttpOptions**(`operation`, `parameters
|
|
77
|
+
> **buildHttpOptions**(`operation`, `parameters?`, `requestBody?`, `ignoreUndefined?`): `HttpRemoteMethodParameter`
|
|
72
78
|
|
|
73
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:381](https://gitlab.com/rxap/packages/-/blob/
|
|
79
|
+
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)
|
|
74
80
|
|
|
75
81
|
Converts open api parameters into the corresponding http options to
|
|
76
82
|
create a http request. The transformation is guided by the openapi definition
|
|
@@ -101,9 +107,9 @@ create a http request. The transformation is guided by the openapi definition
|
|
|
101
107
|
|
|
102
108
|
### buildHttpParams()
|
|
103
109
|
|
|
104
|
-
> **buildHttpParams**(`operationParameters`, `parameters
|
|
110
|
+
> **buildHttpParams**(`operationParameters`, `parameters?`, `ignoreUndefined?`): `HttpParams`
|
|
105
111
|
|
|
106
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:248](https://gitlab.com/rxap/packages/-/blob/
|
|
112
|
+
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)
|
|
107
113
|
|
|
108
114
|
#### Parameters
|
|
109
115
|
|
|
@@ -127,9 +133,9 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:248](h
|
|
|
127
133
|
|
|
128
134
|
### buildHttpPathParams()
|
|
129
135
|
|
|
130
|
-
> **buildHttpPathParams**(`operationParameters`, `parameters
|
|
136
|
+
> **buildHttpPathParams**(`operationParameters`, `parameters?`): `Record`\<`string`, `string`\>
|
|
131
137
|
|
|
132
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:332](https://gitlab.com/rxap/packages/-/blob/
|
|
138
|
+
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)
|
|
133
139
|
|
|
134
140
|
#### Parameters
|
|
135
141
|
|
|
@@ -151,7 +157,7 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:332](h
|
|
|
151
157
|
|
|
152
158
|
> `protected` **normalizePathParamValue**(`value`, `paramName`): `string`
|
|
153
159
|
|
|
154
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:355](https://gitlab.com/rxap/packages/-/blob/
|
|
160
|
+
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)
|
|
155
161
|
|
|
156
162
|
#### Parameters
|
|
157
163
|
|
|
@@ -171,9 +177,9 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:355](h
|
|
|
171
177
|
|
|
172
178
|
### validateParameters()
|
|
173
179
|
|
|
174
|
-
> `protected` **validateParameters**(`operation`, `parameters
|
|
180
|
+
> `protected` **validateParameters**(`operation`, `parameters?`, `strict?`): `void`
|
|
175
181
|
|
|
176
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:47](https://gitlab.com/rxap/packages/-/blob/
|
|
182
|
+
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)
|
|
177
183
|
|
|
178
184
|
Validates the parameters against the schema specified in the operation object
|
|
179
185
|
|
|
@@ -199,9 +205,9 @@ Validates the parameters against the schema specified in the operation object
|
|
|
199
205
|
|
|
200
206
|
### validateRequestBody()
|
|
201
207
|
|
|
202
|
-
> **validateRequestBody**(`operation`, `body
|
|
208
|
+
> **validateRequestBody**(`operation`, `body?`, `strict?`): `void`
|
|
203
209
|
|
|
204
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:193](https://gitlab.com/rxap/packages/-/blob/
|
|
210
|
+
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)
|
|
205
211
|
|
|
206
212
|
#### Parameters
|
|
207
213
|
|
|
@@ -225,9 +231,9 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:193](h
|
|
|
225
231
|
|
|
226
232
|
### validateResponse()
|
|
227
233
|
|
|
228
|
-
> `protected` **validateResponse**(`operation`, `response`, `strict
|
|
234
|
+
> `protected` **validateResponse**(`operation`, `response`, `strict?`): `void`
|
|
229
235
|
|
|
230
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:124](https://gitlab.com/rxap/packages/-/blob/
|
|
236
|
+
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)
|
|
231
237
|
|
|
232
238
|
Validates the http response against the schema specified in the operation object
|
|
233
239
|
|
|
@@ -241,7 +247,7 @@ Validates the http response against the schema specified in the operation object
|
|
|
241
247
|
|
|
242
248
|
[`SchemaValidationResponse`](../interfaces/SchemaValidationResponse.md)\<`Response`\>
|
|
243
249
|
|
|
244
|
-
##### strict
|
|
250
|
+
##### strict?
|
|
245
251
|
|
|
246
252
|
`boolean` = `false`
|
|
247
253
|
|
|
@@ -253,9 +259,9 @@ Validates the http response against the schema specified in the operation object
|
|
|
253
259
|
|
|
254
260
|
### validationError()
|
|
255
261
|
|
|
256
|
-
> **validationError**(`message`, `strict`, `schema
|
|
262
|
+
> **validationError**(`message`, `strict`, `schema?`, `value?`): `void`
|
|
257
263
|
|
|
258
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:226](https://gitlab.com/rxap/packages/-/blob/
|
|
264
|
+
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)
|
|
259
265
|
|
|
260
266
|
#### Parameters
|
|
261
267
|
|
|
@@ -269,7 +275,7 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:226](h
|
|
|
269
275
|
|
|
270
276
|
##### schema?
|
|
271
277
|
|
|
272
|
-
`ReferenceObject`
|
|
278
|
+
`ReferenceObject` \| `SchemaObject`
|
|
273
279
|
|
|
274
280
|
##### value?
|
|
275
281
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/open-api
|
|
1
|
+
[**@rxap/open-api v22.0.0-dev.1**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
|
|
7
7
|
# Function: AssertOpenApiV3()
|
|
8
8
|
|
|
9
|
-
> **AssertOpenApiV3**(`obj
|
|
9
|
+
> **AssertOpenApiV3**(`obj?`): `asserts obj is Document<{}>`
|
|
10
10
|
|
|
11
|
-
Defined in: [packages/angular/open-api/src/lib/utilities.ts:18](https://gitlab.com/rxap/packages/-/blob/
|
|
11
|
+
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)
|
|
12
12
|
|
|
13
13
|
## Parameters
|
|
14
14
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/open-api
|
|
1
|
+
[**@rxap/open-api v22.0.0-dev.1**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
|
|
7
7
|
# Function: IsOpenApiV3()
|
|
8
8
|
|
|
9
|
-
> **IsOpenApiV3**(`obj
|
|
9
|
+
> **IsOpenApiV3**(`obj?`): `obj is Document<{}>`
|
|
10
10
|
|
|
11
|
-
Defined in: [packages/angular/open-api/src/lib/utilities.ts:14](https://gitlab.com/rxap/packages/-/blob/
|
|
11
|
+
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)
|
|
12
12
|
|
|
13
13
|
## Parameters
|
|
14
14
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/open-api
|
|
1
|
+
[**@rxap/open-api v22.0.0-dev.1**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
|
|
7
7
|
# Function: IsReferenceObject()
|
|
8
8
|
|
|
9
|
-
> **IsReferenceObject**(`obj
|
|
9
|
+
> **IsReferenceObject**(`obj?`): `obj is ReferenceObject`
|
|
10
10
|
|
|
11
|
-
Defined in: [packages/angular/open-api/src/lib/utilities.ts:6](https://gitlab.com/rxap/packages/-/blob/
|
|
11
|
+
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)
|
|
12
12
|
|
|
13
13
|
## Parameters
|
|
14
14
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/open-api
|
|
1
|
+
[**@rxap/open-api v22.0.0-dev.1**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -6,19 +6,21 @@
|
|
|
6
6
|
|
|
7
7
|
# Function: NotContainsReferenceObjects()
|
|
8
8
|
|
|
9
|
-
> **NotContainsReferenceObjects**\<`T`\>(`array
|
|
9
|
+
> **NotContainsReferenceObjects**\<`T`\>(`array?`): `array is T[]`
|
|
10
10
|
|
|
11
|
-
Defined in: [packages/angular/open-api/src/lib/utilities.ts:10](https://gitlab.com/rxap/packages/-/blob/
|
|
11
|
+
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)
|
|
12
12
|
|
|
13
13
|
## Type Parameters
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
### T
|
|
16
|
+
|
|
17
|
+
`T`
|
|
16
18
|
|
|
17
19
|
## Parameters
|
|
18
20
|
|
|
19
21
|
### array?
|
|
20
22
|
|
|
21
|
-
(`
|
|
23
|
+
(`ReferenceObject` \| `T` \| `undefined`)[]
|
|
22
24
|
|
|
23
25
|
## Returns
|
|
24
26
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/open-api
|
|
1
|
+
[**@rxap/open-api v22.0.0-dev.1**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
|
|
7
7
|
# Function: OpenApiInit()
|
|
8
8
|
|
|
9
|
-
> **OpenApiInit**(`environment`, `options
|
|
9
|
+
> **OpenApiInit**(`environment`, `options?`): `Promise`\<`void`\> \| `undefined`
|
|
10
10
|
|
|
11
|
-
Defined in: [packages/angular/open-api/src/lib/open-api-init.ts:20](https://gitlab.com/rxap/packages/-/blob/
|
|
11
|
+
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)
|
|
12
12
|
|
|
13
13
|
## Parameters
|
|
14
14
|
|
|
@@ -16,10 +16,10 @@ Defined in: [packages/angular/open-api/src/lib/open-api-init.ts:20](https://gitl
|
|
|
16
16
|
|
|
17
17
|
`Environment`
|
|
18
18
|
|
|
19
|
-
### options
|
|
19
|
+
### options?
|
|
20
20
|
|
|
21
21
|
[`OpenApiInitOptions`](../interfaces/OpenApiInitOptions.md) = `{}`
|
|
22
22
|
|
|
23
23
|
## Returns
|
|
24
24
|
|
|
25
|
-
`
|
|
25
|
+
`Promise`\<`void`\> \| `undefined`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/open-api
|
|
1
|
+
[**@rxap/open-api v22.0.0-dev.1**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -6,16 +6,16 @@
|
|
|
6
6
|
|
|
7
7
|
# Function: getJsonContentSchema()
|
|
8
8
|
|
|
9
|
-
> **getJsonContentSchema**(`data`): `
|
|
9
|
+
> **getJsonContentSchema**(`data`): `SchemaObject` \| `null`
|
|
10
10
|
|
|
11
|
-
Defined in: [packages/angular/open-api/src/lib/utilities.ts:32](https://gitlab.com/rxap/packages/-/blob/
|
|
11
|
+
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)
|
|
12
12
|
|
|
13
13
|
## Parameters
|
|
14
14
|
|
|
15
15
|
### data
|
|
16
16
|
|
|
17
|
-
`RequestBodyObject`
|
|
17
|
+
`RequestBodyObject` \| `ResponseObject`
|
|
18
18
|
|
|
19
19
|
## Returns
|
|
20
20
|
|
|
21
|
-
`
|
|
21
|
+
`SchemaObject` \| `null`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/open-api
|
|
1
|
+
[**@rxap/open-api v22.0.0-dev.1**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -6,16 +6,16 @@
|
|
|
6
6
|
|
|
7
7
|
# Function: getJsonSchema()
|
|
8
8
|
|
|
9
|
-
> **getJsonSchema**(`map`): `
|
|
9
|
+
> **getJsonSchema**(`map`): `SchemaObject` \| `null`
|
|
10
10
|
|
|
11
|
-
Defined in: [packages/angular/open-api/src/lib/utilities.ts:45](https://gitlab.com/rxap/packages/-/blob/
|
|
11
|
+
Defined in: [packages/angular/open-api/src/lib/utilities.ts:45](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/open-api/src/lib/utilities.ts#L45)
|
|
12
12
|
|
|
13
13
|
## Parameters
|
|
14
14
|
|
|
15
15
|
### map
|
|
16
16
|
|
|
17
|
-
`Record`\<`string`, `MediaTypeObject`\>
|
|
17
|
+
`Record`\<`string`, `OpenAPIV3.MediaTypeObject`\>
|
|
18
18
|
|
|
19
19
|
## Returns
|
|
20
20
|
|
|
21
|
-
`
|
|
21
|
+
`SchemaObject` \| `null`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/open-api
|
|
1
|
+
[**@rxap/open-api v22.0.0-dev.1**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -6,20 +6,22 @@
|
|
|
6
6
|
|
|
7
7
|
# Function: hasJsonContentSchema()
|
|
8
8
|
|
|
9
|
-
> **hasJsonContentSchema**\<`T`\>(`data`): `data is T & { content: Record<string, MediaTypeObject> }`
|
|
9
|
+
> **hasJsonContentSchema**\<`T`\>(`data`): `data is T & { content: Record<string, OpenAPIV3.MediaTypeObject> }`
|
|
10
10
|
|
|
11
|
-
Defined in: [packages/angular/open-api/src/lib/utilities.ts:26](https://gitlab.com/rxap/packages/-/blob/
|
|
11
|
+
Defined in: [packages/angular/open-api/src/lib/utilities.ts:26](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/open-api/src/lib/utilities.ts#L26)
|
|
12
12
|
|
|
13
13
|
## Type Parameters
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
### T
|
|
16
|
+
|
|
17
|
+
`T` *extends* `RequestBodyObject` \| `ResponseObject`
|
|
16
18
|
|
|
17
19
|
## Parameters
|
|
18
20
|
|
|
19
21
|
### data
|
|
20
22
|
|
|
21
|
-
`
|
|
23
|
+
`ReferenceObject` \| `T` \| `undefined`
|
|
22
24
|
|
|
23
25
|
## Returns
|
|
24
26
|
|
|
25
|
-
`data is T & { content: Record<string, MediaTypeObject> }`
|
|
27
|
+
`data is T & { content: Record<string, OpenAPIV3.MediaTypeObject> }`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[**@rxap/open-api
|
|
1
|
+
[**@rxap/open-api v22.0.0-dev.1**](../README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
|
|
9
9
|
> **hasJsonSchema**(`map`): `boolean`
|
|
10
10
|
|
|
11
|
-
Defined in: [packages/angular/open-api/src/lib/utilities.ts:41](https://gitlab.com/rxap/packages/-/blob/
|
|
11
|
+
Defined in: [packages/angular/open-api/src/lib/utilities.ts:41](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/open-api/src/lib/utilities.ts#L41)
|
|
12
12
|
|
|
13
13
|
## Parameters
|
|
14
14
|
|
|
15
15
|
### map
|
|
16
16
|
|
|
17
|
-
`
|
|
17
|
+
`Record`\<`string`, `MediaTypeObject`\> \| `undefined`
|
|
18
18
|
|
|
19
19
|
## Returns
|
|
20
20
|
|
package/docs/markdown/globals.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
[**@rxap/open-api
|
|
1
|
+
[**@rxap/open-api v22.0.0-dev.1**](README.md)
|
|
2
2
|
|
|
3
3
|
***
|
|
4
4
|
|
|
5
|
-
# @rxap/open-api
|
|
5
|
+
# @rxap/open-api v22.0.0-dev.1
|
|
6
6
|
|
|
7
7
|
## Classes
|
|
8
8
|
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
- [DEFAULT\_OPEN\_API\_REMOTE\_METHOD\_META\_DATA](variables/DEFAULT_OPEN_API_REMOTE_METHOD_META_DATA.md)
|
|
29
29
|
- [DISABLE\_SCHEMA\_VALIDATION](variables/DISABLE_SCHEMA_VALIDATION.md)
|
|
30
30
|
- [DISABLE\_VALIDATION](variables/DISABLE_VALIDATION.md)
|
|
31
|
+
- [injectOpenApiBaseUrlHttpInterceptorFn](variables/injectOpenApiBaseUrlHttpInterceptorFn.md)
|
|
31
32
|
- [OPEN\_API\_OPERATION](variables/OPEN_API_OPERATION.md)
|
|
32
33
|
- [OPEN\_API\_OPERATION\_ID](variables/OPEN_API_OPERATION_ID.md)
|
|
33
34
|
- [OPEN\_API\_SERVER\_ID](variables/OPEN_API_SERVER_ID.md)
|
|
@@ -42,7 +43,6 @@
|
|
|
42
43
|
- [getJsonSchema](functions/getJsonSchema.md)
|
|
43
44
|
- [hasJsonContentSchema](functions/hasJsonContentSchema.md)
|
|
44
45
|
- [hasJsonSchema](functions/hasJsonSchema.md)
|
|
45
|
-
- [injectOpenApiBaseUrlHttpInterceptorFn](functions/injectOpenApiBaseUrlHttpInterceptorFn.md)
|
|
46
46
|
- [IsOpenApiV3](functions/IsOpenApiV3.md)
|
|
47
47
|
- [IsReferenceObject](functions/IsReferenceObject.md)
|
|
48
48
|
- [NotContainsReferenceObjects](functions/NotContainsReferenceObjects.md)
|