@rxap/open-api 22.0.0-dev.1 → 22.0.0-dev.2
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 +25 -0
- package/README.md +5 -3
- package/compodoc/changelog.html +24 -0
- package/compodoc/dependencies.html +12 -8
- package/compodoc/index.html +4 -3
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/llms.txt +3 -1
- package/compodoc/miscellaneous/functions.html +81 -0
- package/compodoc/properties.html +1 -1
- package/docs/documentation.json +176 -152
- package/docs/html/classes/OpenApiConfigService.html +16 -16
- package/docs/html/classes/OpenApiHttpResponseError.html +20 -20
- package/docs/html/classes/RxapOpenApiError.html +18 -18
- package/docs/html/classes/SchemaValidationMixin.html +15 -15
- package/docs/html/functions/AssertOpenApiV3.html +4 -4
- package/docs/html/functions/IsOpenApiV3.html +4 -4
- package/docs/html/functions/IsReferenceObject.html +4 -4
- package/docs/html/functions/NotContainsReferenceObjects.html +4 -4
- package/docs/html/functions/OpenApiInit.html +4 -4
- package/docs/html/functions/getJsonContentSchema.html +4 -4
- package/docs/html/functions/getJsonSchema.html +4 -4
- package/docs/html/functions/hasJsonContentSchema.html +4 -4
- package/docs/html/functions/hasJsonSchema.html +4 -4
- package/docs/html/hierarchy.html +4 -4
- package/docs/html/index.html +8 -7
- package/docs/html/interfaces/OpenApiInitOptions.html +6 -6
- package/docs/html/interfaces/OpenApiMetaData.html +9 -9
- package/docs/html/interfaces/OperationObjectWithMetadata.html +18 -18
- package/docs/html/interfaces/SchemaValidationResponse.html +8 -8
- package/docs/html/modules.html +4 -4
- package/docs/html/types/OperationMap.html +4 -4
- package/docs/html/variables/DEFAULT_OPEN_API_DATA_SOURCE_META_DATA.html +4 -4
- package/docs/html/variables/DEFAULT_OPEN_API_REMOTE_METHOD_META_DATA.html +4 -4
- package/docs/html/variables/DISABLE_SCHEMA_VALIDATION.html +4 -4
- package/docs/html/variables/DISABLE_VALIDATION.html +4 -4
- package/docs/html/variables/OPEN_API_OPERATION.html +4 -4
- package/docs/html/variables/OPEN_API_OPERATION_ID.html +4 -4
- package/docs/html/variables/OPEN_API_SERVER_ID.html +4 -4
- package/docs/html/variables/OPEN_API_SERVER_INDEX.html +4 -4
- package/docs/html/variables/RXAP_OPEN_API_CONFIG.html +4 -4
- package/docs/html/variables/RXAP_OPEN_API_STRICT_VALIDATOR.html +4 -4
- package/docs/html/variables/injectOpenApiBaseUrlHttpInterceptorFn.html +4 -4
- package/docs/markdown/README.md +6 -4
- package/docs/markdown/classes/OpenApiConfigService.md +14 -14
- package/docs/markdown/classes/OpenApiHttpResponseError.md +18 -18
- package/docs/markdown/classes/RxapOpenApiError.md +16 -16
- package/docs/markdown/classes/SchemaValidationMixin.md +13 -13
- package/docs/markdown/functions/AssertOpenApiV3.md +2 -2
- package/docs/markdown/functions/IsOpenApiV3.md +2 -2
- package/docs/markdown/functions/IsReferenceObject.md +2 -2
- package/docs/markdown/functions/NotContainsReferenceObjects.md +2 -2
- package/docs/markdown/functions/OpenApiInit.md +2 -2
- package/docs/markdown/functions/getJsonContentSchema.md +2 -2
- package/docs/markdown/functions/getJsonSchema.md +2 -2
- package/docs/markdown/functions/hasJsonContentSchema.md +2 -2
- package/docs/markdown/functions/hasJsonSchema.md +2 -2
- package/docs/markdown/globals.md +2 -2
- package/docs/markdown/interfaces/OpenApiInitOptions.md +4 -4
- package/docs/markdown/interfaces/OpenApiMetaData.md +7 -7
- package/docs/markdown/interfaces/OperationObjectWithMetadata.md +16 -16
- package/docs/markdown/interfaces/SchemaValidationResponse.md +6 -6
- package/docs/markdown/type-aliases/OperationMap.md +2 -2
- package/docs/markdown/variables/DEFAULT_OPEN_API_DATA_SOURCE_META_DATA.md +2 -2
- package/docs/markdown/variables/DEFAULT_OPEN_API_REMOTE_METHOD_META_DATA.md +2 -2
- package/docs/markdown/variables/DISABLE_SCHEMA_VALIDATION.md +2 -2
- package/docs/markdown/variables/DISABLE_VALIDATION.md +2 -2
- package/docs/markdown/variables/OPEN_API_OPERATION.md +2 -2
- package/docs/markdown/variables/OPEN_API_OPERATION_ID.md +2 -2
- package/docs/markdown/variables/OPEN_API_SERVER_ID.md +2 -2
- 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 +2 -2
- package/docs/wiki/Class.OpenApiConfigService.md +13 -13
- package/docs/wiki/Class.OpenApiHttpResponseError.md +17 -17
- package/docs/wiki/Class.RxapOpenApiError.md +15 -15
- package/docs/wiki/Class.SchemaValidationMixin.md +12 -12
- package/docs/wiki/Function.AssertOpenApiV3.md +1 -1
- package/docs/wiki/Function.IsOpenApiV3.md +1 -1
- package/docs/wiki/Function.IsReferenceObject.md +1 -1
- package/docs/wiki/Function.NotContainsReferenceObjects.md +1 -1
- package/docs/wiki/Function.OpenApiInit.md +1 -1
- package/docs/wiki/Function.getJsonContentSchema.md +1 -1
- package/docs/wiki/Function.getJsonSchema.md +1 -1
- package/docs/wiki/Function.hasJsonContentSchema.md +1 -1
- package/docs/wiki/Function.hasJsonSchema.md +1 -1
- package/docs/wiki/Home.md +5 -3
- package/docs/wiki/Interface.OpenApiInitOptions.md +3 -3
- package/docs/wiki/Interface.OpenApiMetaData.md +6 -6
- package/docs/wiki/Interface.OperationObjectWithMetadata.md +15 -15
- package/docs/wiki/Interface.SchemaValidationResponse.md +5 -5
- package/docs/wiki/TypeAlias.OperationMap.md +1 -1
- package/docs/wiki/Variable.DEFAULT_OPEN_API_DATA_SOURCE_META_DATA.md +1 -1
- package/docs/wiki/Variable.DEFAULT_OPEN_API_REMOTE_METHOD_META_DATA.md +1 -1
- package/docs/wiki/Variable.DISABLE_SCHEMA_VALIDATION.md +1 -1
- package/docs/wiki/Variable.DISABLE_VALIDATION.md +1 -1
- package/docs/wiki/Variable.OPEN_API_OPERATION.md +1 -1
- package/docs/wiki/Variable.OPEN_API_OPERATION_ID.md +1 -1
- package/docs/wiki/Variable.OPEN_API_SERVER_ID.md +1 -1
- 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 +1 -1
- package/docs/wiki/globals.md +1 -1
- package/generators.json +16 -0
- package/package.json +24 -25
- package/src/generators/init/generator.js +120 -0
- package/src/generators/init/index.js +6 -0
- package/src/generators/init/schema.json +8 -0
- package/src/generators/package.json +3 -0
- package/compodoc/js/libs/vis.min.js +0 -47
- package/compodoc/js/menu-wc_es5.js +0 -40
- package/theme.css +0 -1
|
@@ -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/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/open-api/src/lib/open-api-http-response.error.ts#L4)
|
|
6
6
|
|
|
7
7
|
## Extends
|
|
8
8
|
|
|
@@ -14,7 +14,7 @@ Defined in: [packages/angular/open-api/src/lib/open-api-http-response.error.ts:4
|
|
|
14
14
|
|
|
15
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/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/open-api/src/lib/open-api-http-response.error.ts#L6)
|
|
18
18
|
|
|
19
19
|
#### Parameters
|
|
20
20
|
|
|
@@ -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:848
|
|
43
|
+
Defined in: node\_modules/.pnpm/@angular+common@22.3.0\_@angular+core@22.3.0\_@angular+compiler@22.3.0\_rxjs@7.8.2\_\_rxjs@7.8.2/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:848
|
|
|
52
52
|
|
|
53
53
|
> `readonly` **headers**: `HttpHeaders`
|
|
54
54
|
|
|
55
|
-
Defined in: node\_modules/@angular/common/types/\_module-chunk.d.ts:689
|
|
55
|
+
Defined in: node\_modules/.pnpm/@angular+common@22.3.0\_@angular+core@22.3.0\_@angular+compiler@22.3.0\_rxjs@7.8.2\_\_rxjs@7.8.2/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/73459044d95e79d1cc84f9d21f658812d63c3185/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:847
|
|
77
|
+
Defined in: node\_modules/.pnpm/@angular+common@22.3.0\_@angular+core@22.3.0\_@angular+compiler@22.3.0\_rxjs@7.8.2\_\_rxjs@7.8.2/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:847
|
|
|
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/73459044d95e79d1cc84f9d21f658812d63c3185/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:846
|
|
97
|
+
Defined in: node\_modules/.pnpm/@angular+common@22.3.0\_@angular+core@22.3.0\_@angular+compiler@22.3.0\_rxjs@7.8.2\_\_rxjs@7.8.2/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:846
|
|
|
106
106
|
|
|
107
107
|
> `readonly` **ok**: `false` = `false`
|
|
108
108
|
|
|
109
|
-
Defined in: node\_modules/@angular/common/types/\_module-chunk.d.ts:852
|
|
109
|
+
Defined in: node\_modules/.pnpm/@angular+common@22.3.0\_@angular+core@22.3.0\_@angular+compiler@22.3.0\_rxjs@7.8.2\_\_rxjs@7.8.2/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
|
|
|
@@ -120,7 +120,7 @@ Errors are never okay, even when the status code is in the 2xx success range.
|
|
|
120
120
|
|
|
121
121
|
> `readonly` `optional` **redirected?**: `boolean`
|
|
122
122
|
|
|
123
|
-
Defined in: node\_modules/@angular/common/types/\_module-chunk.d.ts:719
|
|
123
|
+
Defined in: node\_modules/.pnpm/@angular+common@22.3.0\_@angular+core@22.3.0\_@angular+compiler@22.3.0\_rxjs@7.8.2\_\_rxjs@7.8.2/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()`
|
|
@@ -136,7 +136,7 @@ When using the default XHR Request this property will be `undefined`
|
|
|
136
136
|
|
|
137
137
|
> `readonly` `optional` **responseType?**: `ResponseType`
|
|
138
138
|
|
|
139
|
-
Defined in: node\_modules/@angular/common/types/\_module-chunk.d.ts:733
|
|
139
|
+
Defined in: node\_modules/.pnpm/@angular+common@22.3.0\_@angular+core@22.3.0\_@angular+compiler@22.3.0\_rxjs@7.8.2\_\_rxjs@7.8.2/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:693
|
|
163
|
+
Defined in: node\_modules/.pnpm/@angular+common@22.3.0\_@angular+core@22.3.0\_@angular+compiler@22.3.0\_rxjs@7.8.2\_\_rxjs@7.8.2/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:701
|
|
177
|
+
Defined in: node\_modules/.pnpm/@angular+common@22.3.0\_@angular+core@22.3.0\_@angular+compiler@22.3.0\_rxjs@7.8.2\_\_rxjs@7.8.2/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:713
|
|
197
|
+
Defined in: node\_modules/.pnpm/@angular+common@22.3.0\_@angular+core@22.3.0\_@angular+compiler@22.3.0\_rxjs@7.8.2\_\_rxjs@7.8.2/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
|
|
|
@@ -208,7 +208,7 @@ Type of the response, narrowed to either the full response or the header.
|
|
|
208
208
|
|
|
209
209
|
> `readonly` **url**: `string` \| `null`
|
|
210
210
|
|
|
211
|
-
Defined in: node\_modules/@angular/common/types/\_module-chunk.d.ts:705
|
|
211
|
+
Defined in: node\_modules/.pnpm/@angular+common@22.3.0\_@angular+core@22.3.0\_@angular+compiler@22.3.0\_rxjs@7.8.2\_\_rxjs@7.8.2/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/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/open-api/src/lib/open-api-http-response.error.ts#L23)
|
|
228
228
|
|
|
229
229
|
##### Returns
|
|
230
230
|
|
|
@@ -238,7 +238,7 @@ Defined in: [packages/angular/open-api/src/lib/open-api-http-response.error.ts:2
|
|
|
238
238
|
|
|
239
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/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/open-api/src/lib/open-api-http-response.error.ts#L27)
|
|
242
242
|
|
|
243
243
|
##### Returns
|
|
244
244
|
|
|
@@ -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/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/open-api/src/lib/error.ts#L3)
|
|
6
6
|
|
|
7
7
|
## Extends
|
|
8
8
|
|
|
@@ -14,7 +14,7 @@ Defined in: [packages/angular/open-api/src/lib/error.ts:3](https://gitlab.com/rx
|
|
|
14
14
|
|
|
15
15
|
> **new RxapOpenApiError**(`message`, `code?`, `scope?`): `RxapOpenApiError`
|
|
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/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/open-api/src/lib/error.ts#L5)
|
|
18
18
|
|
|
19
19
|
#### Parameters
|
|
20
20
|
|
|
@@ -44,7 +44,7 @@ Defined in: [packages/angular/open-api/src/lib/error.ts:5](https://gitlab.com/rx
|
|
|
44
44
|
|
|
45
45
|
> `protected` **\_packageName**: `string`
|
|
46
46
|
|
|
47
|
-
Defined in: [packages/utilities/src/lib/error.ts:6](https://gitlab.com/rxap/packages/-/blob/
|
|
47
|
+
Defined in: [packages/utilities/src/lib/error.ts:6](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/utilities/src/lib/error.ts#L6)
|
|
48
48
|
|
|
49
49
|
#### Inherited from
|
|
50
50
|
|
|
@@ -56,7 +56,7 @@ Defined in: [packages/utilities/src/lib/error.ts:6](https://gitlab.com/rxap/pack
|
|
|
56
56
|
|
|
57
57
|
> `optional` **cause?**: `unknown`
|
|
58
58
|
|
|
59
|
-
Defined in: node\_modules/typescript/lib/lib.es2022.error.d.ts:24
|
|
59
|
+
Defined in: node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.es2022.error.d.ts:24
|
|
60
60
|
|
|
61
61
|
#### Inherited from
|
|
62
62
|
|
|
@@ -68,7 +68,7 @@ Defined in: node\_modules/typescript/lib/lib.es2022.error.d.ts:24
|
|
|
68
68
|
|
|
69
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/73459044d95e79d1cc84f9d21f658812d63c3185/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:1075
|
|
83
|
+
Defined in: node\_modules/.pnpm/typescript@6.0.3/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:1075
|
|
|
92
92
|
|
|
93
93
|
> **name**: `string`
|
|
94
94
|
|
|
95
|
-
Defined in: node\_modules/typescript/lib/lib.es5.d.ts:1074
|
|
95
|
+
Defined in: node\_modules/.pnpm/typescript@6.0.3/node\_modules/typescript/lib/lib.es5.d.ts:1074
|
|
96
96
|
|
|
97
97
|
#### Inherited from
|
|
98
98
|
|
|
@@ -104,7 +104,7 @@ Defined in: node\_modules/typescript/lib/lib.es5.d.ts:1074
|
|
|
104
104
|
|
|
105
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/73459044d95e79d1cc84f9d21f658812d63c3185/packages/utilities/src/lib/error.ts#L9)
|
|
108
108
|
|
|
109
109
|
#### Inherited from
|
|
110
110
|
|
|
@@ -116,7 +116,7 @@ Defined in: [packages/utilities/src/lib/error.ts:9](https://gitlab.com/rxap/pack
|
|
|
116
116
|
|
|
117
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/73459044d95e79d1cc84f9d21f658812d63c3185/packages/utilities/src/lib/error.ts#L10)
|
|
120
120
|
|
|
121
121
|
#### Inherited from
|
|
122
122
|
|
|
@@ -130,7 +130,7 @@ Defined in: [packages/utilities/src/lib/error.ts:10](https://gitlab.com/rxap/pac
|
|
|
130
130
|
|
|
131
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/73459044d95e79d1cc84f9d21f658812d63c3185/packages/utilities/src/lib/error.ts#L27)
|
|
134
134
|
|
|
135
135
|
##### Returns
|
|
136
136
|
|
|
@@ -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/73459044d95e79d1cc84f9d21f658812d63c3185/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/73459044d95e79d1cc84f9d21f658812d63c3185/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/73459044d95e79d1cc84f9d21f658812d63c3185/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/73459044d95e79d1cc84f9d21f658812d63c3185/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/73459044d95e79d1cc84f9d21f658812d63c3185/packages/utilities/src/lib/error.ts#L31)
|
|
266
266
|
|
|
267
267
|
#### Returns
|
|
268
268
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Class: SchemaValidationMixin\<Response, Parameters, RequestBody\>
|
|
4
4
|
|
|
5
|
-
Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts: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/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L33)
|
|
6
6
|
|
|
7
7
|
## Type Parameters
|
|
8
8
|
|
|
@@ -34,7 +34,7 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:33](ht
|
|
|
34
34
|
|
|
35
35
|
> `protected` `optional` **disableSchemaValidation?**: `boolean`
|
|
36
36
|
|
|
37
|
-
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/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L37)
|
|
38
38
|
|
|
39
39
|
***
|
|
40
40
|
|
|
@@ -42,7 +42,7 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:37](ht
|
|
|
42
42
|
|
|
43
43
|
> `static` **STRICT**: `boolean` = `false`
|
|
44
44
|
|
|
45
|
-
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/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L35)
|
|
46
46
|
|
|
47
47
|
## Methods
|
|
48
48
|
|
|
@@ -50,7 +50,7 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:35](ht
|
|
|
50
50
|
|
|
51
51
|
> **buildHttpHeaders**(`operationParameters`, `parameters?`): `HttpHeaders`
|
|
52
52
|
|
|
53
|
-
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/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L297)
|
|
54
54
|
|
|
55
55
|
#### Parameters
|
|
56
56
|
|
|
@@ -72,7 +72,7 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:297](h
|
|
|
72
72
|
|
|
73
73
|
> **buildHttpOptions**(`operation`, `parameters?`, `requestBody?`, `ignoreUndefined?`): `HttpRemoteMethodParameter`
|
|
74
74
|
|
|
75
|
-
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/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L381)
|
|
76
76
|
|
|
77
77
|
Converts open api parameters into the corresponding http options to
|
|
78
78
|
create a http request. The transformation is guided by the openapi definition
|
|
@@ -105,7 +105,7 @@ create a http request. The transformation is guided by the openapi definition
|
|
|
105
105
|
|
|
106
106
|
> **buildHttpParams**(`operationParameters`, `parameters?`, `ignoreUndefined?`): `HttpParams`
|
|
107
107
|
|
|
108
|
-
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/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L248)
|
|
109
109
|
|
|
110
110
|
#### Parameters
|
|
111
111
|
|
|
@@ -131,7 +131,7 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:248](h
|
|
|
131
131
|
|
|
132
132
|
> **buildHttpPathParams**(`operationParameters`, `parameters?`): `Record`\<`string`, `string`\>
|
|
133
133
|
|
|
134
|
-
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/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L332)
|
|
135
135
|
|
|
136
136
|
#### Parameters
|
|
137
137
|
|
|
@@ -153,7 +153,7 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:332](h
|
|
|
153
153
|
|
|
154
154
|
> `protected` **normalizePathParamValue**(`value`, `paramName`): `string`
|
|
155
155
|
|
|
156
|
-
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/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L355)
|
|
157
157
|
|
|
158
158
|
#### Parameters
|
|
159
159
|
|
|
@@ -175,7 +175,7 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:355](h
|
|
|
175
175
|
|
|
176
176
|
> `protected` **validateParameters**(`operation`, `parameters?`, `strict?`): `void`
|
|
177
177
|
|
|
178
|
-
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/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L47)
|
|
179
179
|
|
|
180
180
|
Validates the parameters against the schema specified in the operation object
|
|
181
181
|
|
|
@@ -203,7 +203,7 @@ Validates the parameters against the schema specified in the operation object
|
|
|
203
203
|
|
|
204
204
|
> **validateRequestBody**(`operation`, `body?`, `strict?`): `void`
|
|
205
205
|
|
|
206
|
-
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/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L193)
|
|
207
207
|
|
|
208
208
|
#### Parameters
|
|
209
209
|
|
|
@@ -229,7 +229,7 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:193](h
|
|
|
229
229
|
|
|
230
230
|
> `protected` **validateResponse**(`operation`, `response`, `strict?`): `void`
|
|
231
231
|
|
|
232
|
-
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/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L124)
|
|
233
233
|
|
|
234
234
|
Validates the http response against the schema specified in the operation object
|
|
235
235
|
|
|
@@ -257,7 +257,7 @@ Validates the http response against the schema specified in the operation object
|
|
|
257
257
|
|
|
258
258
|
> **validationError**(`message`, `strict`, `schema?`, `value?`): `void`
|
|
259
259
|
|
|
260
|
-
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/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L226)
|
|
261
261
|
|
|
262
262
|
#### Parameters
|
|
263
263
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **AssertOpenApiV3**(`obj?`): `asserts obj is Document<{}>`
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/open-api/src/lib/utilities.ts: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/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/open-api/src/lib/utilities.ts#L18)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **IsOpenApiV3**(`obj?`): `obj is Document<{}>`
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/open-api/src/lib/utilities.ts: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/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/open-api/src/lib/utilities.ts#L14)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **IsReferenceObject**(`obj?`): `obj is ReferenceObject`
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/open-api/src/lib/utilities.ts: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/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/open-api/src/lib/utilities.ts#L6)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
> **NotContainsReferenceObjects**\<`T`\>(`array?`): `array is T[]`
|
|
6
6
|
|
|
7
|
-
Defined in: [packages/angular/open-api/src/lib/utilities.ts: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/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/open-api/src/lib/utilities.ts#L10)
|
|
8
8
|
|
|
9
9
|
## Type Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
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/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/open-api/src/lib/open-api-init.ts#L20)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
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/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/open-api/src/lib/utilities.ts#L32)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
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/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/open-api/src/lib/utilities.ts#L45)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
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/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/open-api/src/lib/utilities.ts#L26)
|
|
8
8
|
|
|
9
9
|
## Type Parameters
|
|
10
10
|
|
|
@@ -4,7 +4,7 @@
|
|
|
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/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/open-api/src/lib/utilities.ts#L41)
|
|
8
8
|
|
|
9
9
|
## Parameters
|
|
10
10
|
|
package/docs/wiki/Home.md
CHANGED
|
@@ -15,15 +15,17 @@ This package provides tools for working with OpenAPI specifications in Angular a
|
|
|
15
15
|
|
|
16
16
|
**Add the package to your workspace:**
|
|
17
17
|
```bash
|
|
18
|
-
|
|
18
|
+
npm install @rxap/open-api
|
|
19
19
|
```
|
|
20
|
+
With pnpm or yarn use `pnpm add` or `yarn add` instead of `npm install`.
|
|
21
|
+
|
|
20
22
|
**Install peer dependencies:**
|
|
21
23
|
```bash
|
|
22
|
-
|
|
24
|
+
npm install @angular/common @angular/core @rxap/config @rxap/data-source @rxap/environment @rxap/mixin @rxap/pattern @rxap/remote-method @rxap/rxjs @rxap/utilities ajv openapi-types rxjs
|
|
23
25
|
```
|
|
24
26
|
**Execute the init generator:**
|
|
25
27
|
```bash
|
|
26
|
-
|
|
28
|
+
nx g @rxap/open-api:init
|
|
27
29
|
```
|
|
28
30
|
# Generators
|
|
29
31
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# Interface: OpenApiInitOptions
|
|
4
4
|
|
|
5
|
-
Defined in: [packages/angular/open-api/src/lib/open-api-init.ts:6](https://gitlab.com/rxap/packages/-/blob/
|
|
5
|
+
Defined in: [packages/angular/open-api/src/lib/open-api-init.ts:6](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/open-api/src/lib/open-api-init.ts#L6)
|
|
6
6
|
|
|
7
7
|
## Properties
|
|
8
8
|
|
|
@@ -10,7 +10,7 @@ Defined in: [packages/angular/open-api/src/lib/open-api-init.ts:6](https://gitla
|
|
|
10
10
|
|
|
11
11
|
> `optional` **load?**: `boolean` \| \{ `openApiUrl?`: `string`; \}
|
|
12
12
|
|
|
13
|
-
Defined in: [packages/angular/open-api/src/lib/open-api-init.ts:11](https://gitlab.com/rxap/packages/-/blob/
|
|
13
|
+
Defined in: [packages/angular/open-api/src/lib/open-api-init.ts:11](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/open-api/src/lib/open-api-init.ts#L11)
|
|
14
14
|
|
|
15
15
|
true - load the open api config file from the default url
|
|
16
16
|
default url: openapi.json
|
|
@@ -21,6 +21,6 @@ default url: openapi.json
|
|
|
21
21
|
|
|
22
22
|
> `optional` **origin?**: `string`
|
|
23
23
|
|
|
24
|
-
Defined in: [packages/angular/open-api/src/lib/open-api-init.ts:17](https://gitlab.com/rxap/packages/-/blob/
|
|
24
|
+
Defined in: [packages/angular/open-api/src/lib/open-api-init.ts:17](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/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/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/open-api/src/lib/open-api.meta-data.ts#L4)
|
|
6
6
|
|
|
7
7
|
## Extends
|
|
8
8
|
|
|
@@ -18,7 +18,7 @@ Defined in: [packages/angular/open-api/src/lib/open-api.meta-data.ts:4](https://
|
|
|
18
18
|
|
|
19
19
|
> **id**: `string`
|
|
20
20
|
|
|
21
|
-
Defined in: [packages/angular/open-api/src/lib/open-api.meta-data.ts:17](https://gitlab.com/rxap/packages/-/blob/
|
|
21
|
+
Defined in: [packages/angular/open-api/src/lib/open-api.meta-data.ts:17](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/open-api/src/lib/open-api.meta-data.ts#L17)
|
|
22
22
|
|
|
23
23
|
#### Overrides
|
|
24
24
|
|
|
@@ -30,7 +30,7 @@ Defined in: [packages/angular/open-api/src/lib/open-api.meta-data.ts:17](https:/
|
|
|
30
30
|
|
|
31
31
|
> `optional` **operation?**: `string` \| [`OperationObjectWithMetadata`](../wiki/Interface.OperationObjectWithMetadata)
|
|
32
32
|
|
|
33
|
-
Defined in: [packages/angular/open-api/src/lib/open-api.meta-data.ts:8](https://gitlab.com/rxap/packages/-/blob/
|
|
33
|
+
Defined in: [packages/angular/open-api/src/lib/open-api.meta-data.ts:8](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/open-api/src/lib/open-api.meta-data.ts#L8)
|
|
34
34
|
|
|
35
35
|
The operation object with path and method
|
|
36
36
|
|
|
@@ -40,7 +40,7 @@ The operation object with path and method
|
|
|
40
40
|
|
|
41
41
|
> `optional` **refresh?**: (`Type`\<`Refreshable`\> \| `InjectionToken`\<`Refreshable`\> \| `AbstractType`\<`Refreshable`\>)[]
|
|
42
42
|
|
|
43
|
-
Defined in: [packages/angular/remote-method/src/lib/base.remote-method.ts: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/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/remote-method/src/lib/base.remote-method.ts#L25)
|
|
44
44
|
|
|
45
45
|
#### Inherited from
|
|
46
46
|
|
|
@@ -52,7 +52,7 @@ Defined in: [packages/angular/remote-method/src/lib/base.remote-method.ts:25](ht
|
|
|
52
52
|
|
|
53
53
|
> `optional` **serverId?**: `string`
|
|
54
54
|
|
|
55
|
-
Defined in: [packages/angular/open-api/src/lib/open-api.meta-data.ts:16](https://gitlab.com/rxap/packages/-/blob/
|
|
55
|
+
Defined in: [packages/angular/open-api/src/lib/open-api.meta-data.ts:16](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/packages/angular/open-api/src/lib/open-api.meta-data.ts#L16)
|
|
56
56
|
|
|
57
57
|
used to specify the target server for the reset api operation
|
|
58
58
|
|
|
@@ -62,6 +62,6 @@ used to specify the target server for the reset api operation
|
|
|
62
62
|
|
|
63
63
|
> `optional` **serverIndex?**: `number`
|
|
64
64
|
|
|
65
|
-
Defined in: [packages/angular/open-api/src/lib/open-api.meta-data.ts:12](https://gitlab.com/rxap/packages/-/blob/
|
|
65
|
+
Defined in: [packages/angular/open-api/src/lib/open-api.meta-data.ts:12](https://gitlab.com/rxap/packages/-/blob/73459044d95e79d1cc84f9d21f658812d63c3185/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
|