@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,16 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
# Function: getJsonSchema()
|
|
4
4
|
|
|
5
|
-
> **getJsonSchema**(`map`): `
|
|
5
|
+
> **getJsonSchema**(`map`): `SchemaObject` \| `null`
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/open-api/src/lib/utilities.ts:45](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
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)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
11
11
|
### map
|
|
12
12
|
|
|
13
|
-
`Record`\<`string`, `MediaTypeObject`\>
|
|
13
|
+
`Record`\<`string`, `OpenAPIV3.MediaTypeObject`\>
|
|
14
14
|
|
|
15
15
|
## Returns
|
|
16
16
|
|
|
17
|
-
`
|
|
17
|
+
`SchemaObject` \| `null`
|
|
@@ -2,20 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
# Function: hasJsonContentSchema()
|
|
4
4
|
|
|
5
|
-
> **hasJsonContentSchema**\<`T`\>(`data`): `data is T & { content: Record<string, MediaTypeObject> }`
|
|
5
|
+
> **hasJsonContentSchema**\<`T`\>(`data`): `data is T & { content: Record<string, OpenAPIV3.MediaTypeObject> }`
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/open-api/src/lib/utilities.ts:26](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
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)
|
|
8
8
|
|
|
9
9
|
## Type Parameters
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
### T
|
|
12
|
+
|
|
13
|
+
`T` *extends* `RequestBodyObject` \| `ResponseObject`
|
|
12
14
|
|
|
13
15
|
## Parameters
|
|
14
16
|
|
|
15
17
|
### data
|
|
16
18
|
|
|
17
|
-
`
|
|
19
|
+
`ReferenceObject` \| `T` \| `undefined`
|
|
18
20
|
|
|
19
21
|
## Returns
|
|
20
22
|
|
|
21
|
-
`data is T & { content: Record<string, MediaTypeObject> }`
|
|
23
|
+
`data is T & { content: Record<string, OpenAPIV3.MediaTypeObject> }`
|
|
@@ -4,13 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
> **hasJsonSchema**(`map`): `boolean`
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/open-api/src/lib/utilities.ts:41](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
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)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
11
11
|
### map
|
|
12
12
|
|
|
13
|
-
`
|
|
13
|
+
`Record`\<`string`, `MediaTypeObject`\> \| `undefined`
|
|
14
14
|
|
|
15
15
|
## Returns
|
|
16
16
|
|
|
@@ -2,15 +2,15 @@
|
|
|
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/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/open-api/src/lib/open-api-init.ts#L6)
|
|
6
6
|
|
|
7
7
|
## Properties
|
|
8
8
|
|
|
9
9
|
### load?
|
|
10
10
|
|
|
11
|
-
> `optional` **load
|
|
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/947fa470d880611063dad4f2b0b1c759b5b07f1b/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
|
|
@@ -19,8 +19,8 @@ default url: openapi.json
|
|
|
19
19
|
|
|
20
20
|
### origin?
|
|
21
21
|
|
|
22
|
-
> `optional` **origin
|
|
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/947fa470d880611063dad4f2b0b1c759b5b07f1b/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/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/open-api/src/lib/open-api.meta-data.ts#L4)
|
|
6
6
|
|
|
7
7
|
## Extends
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@ Defined in: [packages/angular/open-api/src/lib/open-api.meta-data.ts:4](https://
|
|
|
10
10
|
|
|
11
11
|
## Indexable
|
|
12
12
|
|
|
13
|
-
\[`key`: `string`\]: `any`
|
|
13
|
+
> \[`key`: `string`\]: `any`
|
|
14
14
|
|
|
15
15
|
## Properties
|
|
16
16
|
|
|
@@ -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/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/open-api/src/lib/open-api.meta-data.ts#L17)
|
|
22
22
|
|
|
23
23
|
#### Overrides
|
|
24
24
|
|
|
@@ -28,9 +28,9 @@ Defined in: [packages/angular/open-api/src/lib/open-api.meta-data.ts:17](https:/
|
|
|
28
28
|
|
|
29
29
|
### operation?
|
|
30
30
|
|
|
31
|
-
> `optional` **operation
|
|
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/947fa470d880611063dad4f2b0b1c759b5b07f1b/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
|
|
|
@@ -38,9 +38,9 @@ The operation object with path and method
|
|
|
38
38
|
|
|
39
39
|
### refresh?
|
|
40
40
|
|
|
41
|
-
> `optional` **refresh
|
|
41
|
+
> `optional` **refresh?**: (`Type`\<`Refreshable`\> \| `InjectionToken`\<`Refreshable`\> \| `AbstractType`\<`Refreshable`\>)[]
|
|
42
42
|
|
|
43
|
-
Defined in: [packages/angular/remote-method/src/lib/base.remote-method.ts:25](https://gitlab.com/rxap/packages/-/blob/
|
|
43
|
+
Defined in: [packages/angular/remote-method/src/lib/base.remote-method.ts:25](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/remote-method/src/lib/base.remote-method.ts#L25)
|
|
44
44
|
|
|
45
45
|
#### Inherited from
|
|
46
46
|
|
|
@@ -50,9 +50,9 @@ Defined in: [packages/angular/remote-method/src/lib/base.remote-method.ts:25](ht
|
|
|
50
50
|
|
|
51
51
|
### serverId?
|
|
52
52
|
|
|
53
|
-
> `optional` **serverId
|
|
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/947fa470d880611063dad4f2b0b1c759b5b07f1b/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
|
|
|
@@ -60,8 +60,8 @@ used to specify the target server for the reset api operation
|
|
|
60
60
|
|
|
61
61
|
### serverIndex?
|
|
62
62
|
|
|
63
|
-
> `optional` **serverIndex
|
|
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/947fa470d880611063dad4f2b0b1c759b5b07f1b/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/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/open-api/src/lib/open-api.ts#L3)
|
|
6
6
|
|
|
7
7
|
## Extends
|
|
8
8
|
|
|
@@ -12,7 +12,7 @@ Defined in: [packages/angular/open-api/src/lib/open-api.ts:3](https://gitlab.com
|
|
|
12
12
|
|
|
13
13
|
### callbacks?
|
|
14
14
|
|
|
15
|
-
> `optional` **callbacks
|
|
15
|
+
> `optional` **callbacks?**: `object`
|
|
16
16
|
|
|
17
17
|
Defined in: node\_modules/openapi-types/dist/index.d.ts:224
|
|
18
18
|
|
|
@@ -28,7 +28,7 @@ Defined in: node\_modules/openapi-types/dist/index.d.ts:224
|
|
|
28
28
|
|
|
29
29
|
### deprecated?
|
|
30
30
|
|
|
31
|
-
> `optional` **deprecated
|
|
31
|
+
> `optional` **deprecated?**: `boolean`
|
|
32
32
|
|
|
33
33
|
Defined in: node\_modules/openapi-types/dist/index.d.ts:227
|
|
34
34
|
|
|
@@ -40,7 +40,7 @@ Defined in: node\_modules/openapi-types/dist/index.d.ts:227
|
|
|
40
40
|
|
|
41
41
|
### description?
|
|
42
42
|
|
|
43
|
-
> `optional` **description
|
|
43
|
+
> `optional` **description?**: `string`
|
|
44
44
|
|
|
45
45
|
Defined in: node\_modules/openapi-types/dist/index.d.ts:218
|
|
46
46
|
|
|
@@ -52,7 +52,7 @@ Defined in: node\_modules/openapi-types/dist/index.d.ts:218
|
|
|
52
52
|
|
|
53
53
|
### externalDocs?
|
|
54
54
|
|
|
55
|
-
> `optional` **externalDocs
|
|
55
|
+
> `optional` **externalDocs?**: `ExternalDocumentationObject`
|
|
56
56
|
|
|
57
57
|
Defined in: node\_modules/openapi-types/dist/index.d.ts:219
|
|
58
58
|
|
|
@@ -66,13 +66,13 @@ 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/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/open-api/src/lib/open-api.ts#L5)
|
|
70
70
|
|
|
71
71
|
***
|
|
72
72
|
|
|
73
73
|
### operationId?
|
|
74
74
|
|
|
75
|
-
> `optional` **operationId
|
|
75
|
+
> `optional` **operationId?**: `string`
|
|
76
76
|
|
|
77
77
|
Defined in: node\_modules/openapi-types/dist/index.d.ts:220
|
|
78
78
|
|
|
@@ -84,7 +84,7 @@ Defined in: node\_modules/openapi-types/dist/index.d.ts:220
|
|
|
84
84
|
|
|
85
85
|
### parameters?
|
|
86
86
|
|
|
87
|
-
> `optional` **parameters
|
|
87
|
+
> `optional` **parameters?**: (`ReferenceObject` \| `ParameterObject`)[]
|
|
88
88
|
|
|
89
89
|
Defined in: node\_modules/openapi-types/dist/index.d.ts:221
|
|
90
90
|
|
|
@@ -98,13 +98,13 @@ 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/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/open-api/src/lib/open-api.ts#L4)
|
|
102
102
|
|
|
103
103
|
***
|
|
104
104
|
|
|
105
105
|
### requestBody?
|
|
106
106
|
|
|
107
|
-
> `optional` **requestBody
|
|
107
|
+
> `optional` **requestBody?**: `ReferenceObject` \| `RequestBodyObject`
|
|
108
108
|
|
|
109
109
|
Defined in: node\_modules/openapi-types/dist/index.d.ts:222
|
|
110
110
|
|
|
@@ -128,7 +128,7 @@ Defined in: node\_modules/openapi-types/dist/index.d.ts:223
|
|
|
128
128
|
|
|
129
129
|
### security?
|
|
130
130
|
|
|
131
|
-
> `optional` **security
|
|
131
|
+
> `optional` **security?**: `SecurityRequirementObject`[]
|
|
132
132
|
|
|
133
133
|
Defined in: node\_modules/openapi-types/dist/index.d.ts:228
|
|
134
134
|
|
|
@@ -140,7 +140,7 @@ Defined in: node\_modules/openapi-types/dist/index.d.ts:228
|
|
|
140
140
|
|
|
141
141
|
### servers?
|
|
142
142
|
|
|
143
|
-
> `optional` **servers
|
|
143
|
+
> `optional` **servers?**: `ServerObject`[]
|
|
144
144
|
|
|
145
145
|
Defined in: node\_modules/openapi-types/dist/index.d.ts:229
|
|
146
146
|
|
|
@@ -152,7 +152,7 @@ Defined in: node\_modules/openapi-types/dist/index.d.ts:229
|
|
|
152
152
|
|
|
153
153
|
### summary?
|
|
154
154
|
|
|
155
|
-
> `optional` **summary
|
|
155
|
+
> `optional` **summary?**: `string`
|
|
156
156
|
|
|
157
157
|
Defined in: node\_modules/openapi-types/dist/index.d.ts:217
|
|
158
158
|
|
|
@@ -164,7 +164,7 @@ Defined in: node\_modules/openapi-types/dist/index.d.ts:217
|
|
|
164
164
|
|
|
165
165
|
### tags?
|
|
166
166
|
|
|
167
|
-
> `optional` **tags
|
|
167
|
+
> `optional` **tags?**: `string`[]
|
|
168
168
|
|
|
169
169
|
Defined in: node\_modules/openapi-types/dist/index.d.ts:216
|
|
170
170
|
|
|
@@ -2,27 +2,29 @@
|
|
|
2
2
|
|
|
3
3
|
# Interface: SchemaValidationResponse\<Data\>
|
|
4
4
|
|
|
5
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:24](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:24](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L24)
|
|
6
6
|
|
|
7
7
|
## Type Parameters
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
### Data
|
|
10
|
+
|
|
11
|
+
`Data`
|
|
10
12
|
|
|
11
13
|
## Properties
|
|
12
14
|
|
|
13
15
|
### body?
|
|
14
16
|
|
|
15
|
-
> `optional` **body
|
|
17
|
+
> `optional` **body?**: `Data` \| `null`
|
|
16
18
|
|
|
17
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:27](https://gitlab.com/rxap/packages/-/blob/
|
|
19
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:27](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L27)
|
|
18
20
|
|
|
19
21
|
***
|
|
20
22
|
|
|
21
23
|
### data?
|
|
22
24
|
|
|
23
|
-
> `optional` **data
|
|
25
|
+
> `optional` **data?**: `Data`
|
|
24
26
|
|
|
25
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:28](https://gitlab.com/rxap/packages/-/blob/
|
|
27
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:28](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L28)
|
|
26
28
|
|
|
27
29
|
***
|
|
28
30
|
|
|
@@ -30,7 +32,7 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:28](ht
|
|
|
30
32
|
|
|
31
33
|
> **headers**: `HttpHeaders`
|
|
32
34
|
|
|
33
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:25](https://gitlab.com/rxap/packages/-/blob/
|
|
35
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:25](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L25)
|
|
34
36
|
|
|
35
37
|
***
|
|
36
38
|
|
|
@@ -38,4 +40,4 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:25](ht
|
|
|
38
40
|
|
|
39
41
|
> **status**: `number`
|
|
40
42
|
|
|
41
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:26](https://gitlab.com/rxap/packages/-/blob/
|
|
43
|
+
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:26](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L26)
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
# Type Alias: OperationMap
|
|
4
4
|
|
|
5
|
-
> **OperationMap
|
|
5
|
+
> **OperationMap** = `Map`\<`string`, [`OperationObjectWithMetadata`](../wiki/Interface.OperationObjectWithMetadata)\>
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/open-api/src/lib/open-api-config.service.ts:10](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/open-api-config.service.ts:10](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/open-api/src/lib/open-api-config.service.ts#L10)
|
|
@@ -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/947fa470d880611063dad4f2b0b1c759b5b07f1b/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/947fa470d880611063dad4f2b0b1c759b5b07f1b/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/947fa470d880611063dad4f2b0b1c759b5b07f1b/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/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/open-api/src/lib/tokens.ts#L12)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **OPEN\_API\_OPERATION**: `HttpContextToken`\<`string`\>
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/open-api/src/lib/http-context-tokens.ts:6](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/http-context-tokens.ts:6](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/open-api/src/lib/http-context-tokens.ts#L6)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **OPEN\_API\_OPERATION\_ID**: `HttpContextToken`\<`string`\>
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/open-api/src/lib/http-context-tokens.ts:3](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/http-context-tokens.ts:3](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/open-api/src/lib/http-context-tokens.ts#L3)
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
# Variable: OPEN\_API\_SERVER\_ID
|
|
4
4
|
|
|
5
|
-
> `const` **OPEN\_API\_SERVER\_ID**: `HttpContextToken`\<`
|
|
5
|
+
> `const` **OPEN\_API\_SERVER\_ID**: `HttpContextToken`\<`string` \| `null`\>
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/open-api/src/lib/http-context-tokens.ts:4](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/http-context-tokens.ts:4](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/open-api/src/lib/http-context-tokens.ts#L4)
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
|
|
5
5
|
> `const` **OPEN\_API\_SERVER\_INDEX**: `HttpContextToken`\<`number`\>
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/open-api/src/lib/http-context-tokens.ts:5](https://gitlab.com/rxap/packages/-/blob/
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/http-context-tokens.ts:5](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/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/947fa470d880611063dad4f2b0b1c759b5b07f1b/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/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/open-api/src/lib/tokens.ts#L4)
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
[@rxap/open-api](../wiki/globals) / injectOpenApiBaseUrlHttpInterceptorFn
|
|
2
|
+
|
|
3
|
+
# Variable: injectOpenApiBaseUrlHttpInterceptorFn
|
|
4
|
+
|
|
5
|
+
> `const` **injectOpenApiBaseUrlHttpInterceptorFn**: `HttpInterceptorFn`
|
|
6
|
+
|
|
7
|
+
Defined in: [packages/angular/open-api/src/lib/http-interceptors.ts:9](https://gitlab.com/rxap/packages/-/blob/947fa470d880611063dad4f2b0b1c759b5b07f1b/packages/angular/open-api/src/lib/http-interceptors.ts#L9)
|
package/docs/wiki/_Sidebar.md
CHANGED
|
@@ -24,6 +24,7 @@
|
|
|
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
|
+
- [injectOpenApiBaseUrlHttpInterceptorFn](../wiki/Variable.injectOpenApiBaseUrlHttpInterceptorFn)
|
|
27
28
|
- [OPEN_API_OPERATION](../wiki/Variable.OPEN_API_OPERATION)
|
|
28
29
|
- [OPEN_API_OPERATION_ID](../wiki/Variable.OPEN_API_OPERATION_ID)
|
|
29
30
|
- [OPEN_API_SERVER_ID](../wiki/Variable.OPEN_API_SERVER_ID)
|
|
@@ -38,7 +39,6 @@
|
|
|
38
39
|
- [getJsonSchema](../wiki/Function.getJsonSchema)
|
|
39
40
|
- [hasJsonContentSchema](../wiki/Function.hasJsonContentSchema)
|
|
40
41
|
- [hasJsonSchema](../wiki/Function.hasJsonSchema)
|
|
41
|
-
- [injectOpenApiBaseUrlHttpInterceptorFn](../wiki/Function.injectOpenApiBaseUrlHttpInterceptorFn)
|
|
42
42
|
- [IsOpenApiV3](../wiki/Function.IsOpenApiV3)
|
|
43
43
|
- [IsReferenceObject](../wiki/Function.IsReferenceObject)
|
|
44
44
|
- [NotContainsReferenceObjects](../wiki/Function.NotContainsReferenceObjects)
|
package/docs/wiki/globals.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @rxap/open-api
|
|
1
|
+
# @rxap/open-api v22.0.0-dev.1
|
|
2
2
|
|
|
3
3
|
## Classes
|
|
4
4
|
|
|
@@ -24,6 +24,7 @@
|
|
|
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
|
+
- [injectOpenApiBaseUrlHttpInterceptorFn](../wiki/Variable.injectOpenApiBaseUrlHttpInterceptorFn)
|
|
27
28
|
- [OPEN\_API\_OPERATION](../wiki/Variable.OPEN_API_OPERATION)
|
|
28
29
|
- [OPEN\_API\_OPERATION\_ID](../wiki/Variable.OPEN_API_OPERATION_ID)
|
|
29
30
|
- [OPEN\_API\_SERVER\_ID](../wiki/Variable.OPEN_API_SERVER_ID)
|
|
@@ -38,7 +39,6 @@
|
|
|
38
39
|
- [getJsonSchema](../wiki/Function.getJsonSchema)
|
|
39
40
|
- [hasJsonContentSchema](../wiki/Function.hasJsonContentSchema)
|
|
40
41
|
- [hasJsonSchema](../wiki/Function.hasJsonSchema)
|
|
41
|
-
- [injectOpenApiBaseUrlHttpInterceptorFn](../wiki/Function.injectOpenApiBaseUrlHttpInterceptorFn)
|
|
42
42
|
- [IsOpenApiV3](../wiki/Function.IsOpenApiV3)
|
|
43
43
|
- [IsReferenceObject](../wiki/Function.IsReferenceObject)
|
|
44
44
|
- [NotContainsReferenceObjects](../wiki/Function.NotContainsReferenceObjects)
|