@rxap/open-api 22.0.0-dev.0 → 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.
Files changed (171) hide show
  1. package/CHANGELOG.md +46 -0
  2. package/README.md +5 -3
  3. package/compodoc/architecture.html +222 -0
  4. package/compodoc/changelog.html +90 -5
  5. package/compodoc/classes/OpenApiHttpResponseError.html +110 -39
  6. package/compodoc/classes/RxapOpenApiError.html +77 -10
  7. package/compodoc/classes/SchemaValidationMixin.html +100 -29
  8. package/compodoc/dependencies.html +128 -35
  9. package/compodoc/index.html +50 -8
  10. package/compodoc/injectables/OpenApiConfigService.html +112 -38
  11. package/compodoc/interfaces/OpenApiInitOptions.html +166 -111
  12. package/compodoc/interfaces/OpenApiMetaData.html +259 -175
  13. package/compodoc/interfaces/OperationObjectWithMetadata.html +165 -91
  14. package/compodoc/interfaces/SchemaValidationResponse.html +247 -182
  15. package/compodoc/js/architecture-graph.js +288 -0
  16. package/compodoc/js/libs/bootstrap-native.js +4 -2
  17. package/compodoc/js/libs/jszip.min.js +13 -0
  18. package/compodoc/js/libs/svg-pan-zoom.min.js +3 -3
  19. package/compodoc/js/libs/tablesort.min.js +3 -3
  20. package/compodoc/js/libs/tablesort.number.min.js +3 -3
  21. package/compodoc/js/libs/vis-network.min.js +78 -0
  22. package/compodoc/js/menu-wc.js +27 -14
  23. package/compodoc/js/menu.js +10 -11
  24. package/compodoc/js/routes/routes_index.js +1 -0
  25. package/compodoc/js/routes.js +142 -34
  26. package/compodoc/js/search/search-lunr.js +6 -8
  27. package/compodoc/js/search/search.js +118 -66
  28. package/compodoc/js/search/search_index.js +2 -2
  29. package/compodoc/js/tabs.js +98 -15
  30. package/compodoc/js/tree.js +44 -7
  31. package/compodoc/license.html +48 -6
  32. package/compodoc/llms.txt +156 -0
  33. package/compodoc/miscellaneous/functions.html +167 -19
  34. package/compodoc/miscellaneous/typealiases.html +46 -4
  35. package/compodoc/miscellaneous/variables.html +123 -16
  36. package/compodoc/modules.html +44 -3
  37. package/compodoc/overview.html +54 -3
  38. package/compodoc/properties.html +45 -4
  39. package/compodoc/routes.html +227 -0
  40. package/compodoc/styles/compodoc.css +365 -44
  41. package/compodoc/styles/dark.css +16 -0
  42. package/compodoc/template-playground/default-templates.json +192 -0
  43. package/compodoc/template-playground/hbs-render.service.ts +217 -0
  44. package/compodoc/template-playground/main.ts +9 -0
  45. package/compodoc/template-playground/template-editor.service.ts +173 -0
  46. package/compodoc/template-playground/template-playground.component.ts +614 -0
  47. package/compodoc/template-playground/template-playground.module.ts +29 -0
  48. package/compodoc/template-playground/zip-export.service.ts +86 -0
  49. package/compodoc/template-playground-app/app.js +1389 -0
  50. package/compodoc/template-playground-app/index.html +462 -0
  51. package/docs/documentation.json +1287 -1054
  52. package/docs/html/assets/highlight.css +1 -1
  53. package/docs/html/assets/icons.js +1 -1
  54. package/docs/html/assets/icons.svg +1 -1
  55. package/docs/html/assets/main.js +5 -5
  56. package/docs/html/assets/navigation.js +1 -1
  57. package/docs/html/assets/search.js +1 -1
  58. package/docs/html/assets/style.css +265 -228
  59. package/docs/html/classes/OpenApiConfigService.html +216 -14
  60. package/docs/html/classes/OpenApiHttpResponseError.html +215 -26
  61. package/docs/html/classes/RxapOpenApiError.html +242 -23
  62. package/docs/html/classes/SchemaValidationMixin.html +245 -16
  63. package/docs/html/functions/AssertOpenApiV3.html +42 -1
  64. package/docs/html/functions/IsOpenApiV3.html +42 -1
  65. package/docs/html/functions/IsReferenceObject.html +42 -1
  66. package/docs/html/functions/NotContainsReferenceObjects.html +46 -1
  67. package/docs/html/functions/OpenApiInit.html +43 -1
  68. package/docs/html/functions/getJsonContentSchema.html +42 -1
  69. package/docs/html/functions/getJsonSchema.html +42 -1
  70. package/docs/html/functions/hasJsonContentSchema.html +46 -1
  71. package/docs/html/functions/hasJsonSchema.html +42 -1
  72. package/docs/html/hierarchy.html +29 -0
  73. package/docs/html/index.html +44 -7
  74. package/docs/html/interfaces/OpenApiInitOptions.html +65 -5
  75. package/docs/html/interfaces/OpenApiMetaData.html +98 -9
  76. package/docs/html/interfaces/OperationObjectWithMetadata.html +151 -15
  77. package/docs/html/interfaces/SchemaValidationResponse.html +77 -5
  78. package/docs/html/modules.html +52 -1
  79. package/docs/html/types/OperationMap.html +33 -1
  80. package/docs/html/variables/DEFAULT_OPEN_API_DATA_SOURCE_META_DATA.html +33 -1
  81. package/docs/html/variables/DEFAULT_OPEN_API_REMOTE_METHOD_META_DATA.html +33 -1
  82. package/docs/html/variables/DISABLE_SCHEMA_VALIDATION.html +33 -1
  83. package/docs/html/variables/DISABLE_VALIDATION.html +33 -1
  84. package/docs/html/variables/OPEN_API_OPERATION.html +33 -1
  85. package/docs/html/variables/OPEN_API_OPERATION_ID.html +33 -1
  86. package/docs/html/variables/OPEN_API_SERVER_ID.html +33 -1
  87. package/docs/html/variables/OPEN_API_SERVER_INDEX.html +33 -1
  88. package/docs/html/variables/RXAP_OPEN_API_CONFIG.html +33 -1
  89. package/docs/html/variables/RXAP_OPEN_API_STRICT_VALIDATOR.html +33 -1
  90. package/docs/html/variables/injectOpenApiBaseUrlHttpInterceptorFn.html +33 -0
  91. package/docs/markdown/README.md +6 -4
  92. package/docs/markdown/classes/OpenApiConfigService.md +27 -27
  93. package/docs/markdown/classes/OpenApiHttpResponseError.md +26 -26
  94. package/docs/markdown/classes/RxapOpenApiError.md +25 -25
  95. package/docs/markdown/classes/SchemaValidationMixin.md +36 -30
  96. package/docs/markdown/functions/AssertOpenApiV3.md +3 -3
  97. package/docs/markdown/functions/IsOpenApiV3.md +3 -3
  98. package/docs/markdown/functions/IsReferenceObject.md +3 -3
  99. package/docs/markdown/functions/NotContainsReferenceObjects.md +7 -5
  100. package/docs/markdown/functions/OpenApiInit.md +5 -5
  101. package/docs/markdown/functions/getJsonContentSchema.md +5 -5
  102. package/docs/markdown/functions/getJsonSchema.md +5 -5
  103. package/docs/markdown/functions/hasJsonContentSchema.md +8 -6
  104. package/docs/markdown/functions/hasJsonSchema.md +3 -3
  105. package/docs/markdown/globals.md +3 -3
  106. package/docs/markdown/interfaces/OpenApiInitOptions.md +6 -6
  107. package/docs/markdown/interfaces/OpenApiMetaData.md +12 -12
  108. package/docs/markdown/interfaces/OperationObjectWithMetadata.md +27 -27
  109. package/docs/markdown/interfaces/SchemaValidationResponse.md +11 -9
  110. package/docs/markdown/type-aliases/OperationMap.md +3 -3
  111. package/docs/markdown/variables/DEFAULT_OPEN_API_DATA_SOURCE_META_DATA.md +2 -2
  112. package/docs/markdown/variables/DEFAULT_OPEN_API_REMOTE_METHOD_META_DATA.md +2 -2
  113. package/docs/markdown/variables/DISABLE_SCHEMA_VALIDATION.md +2 -2
  114. package/docs/markdown/variables/DISABLE_VALIDATION.md +2 -2
  115. package/docs/markdown/variables/OPEN_API_OPERATION.md +2 -2
  116. package/docs/markdown/variables/OPEN_API_OPERATION_ID.md +2 -2
  117. package/docs/markdown/variables/OPEN_API_SERVER_ID.md +3 -3
  118. package/docs/markdown/variables/OPEN_API_SERVER_INDEX.md +2 -2
  119. package/docs/markdown/variables/RXAP_OPEN_API_CONFIG.md +2 -2
  120. package/docs/markdown/variables/RXAP_OPEN_API_STRICT_VALIDATOR.md +2 -2
  121. package/docs/markdown/variables/injectOpenApiBaseUrlHttpInterceptorFn.md +11 -0
  122. package/docs/wiki/Class.OpenApiConfigService.md +26 -26
  123. package/docs/wiki/Class.OpenApiHttpResponseError.md +25 -25
  124. package/docs/wiki/Class.RxapOpenApiError.md +24 -24
  125. package/docs/wiki/Class.SchemaValidationMixin.md +35 -29
  126. package/docs/wiki/Function.AssertOpenApiV3.md +2 -2
  127. package/docs/wiki/Function.IsOpenApiV3.md +2 -2
  128. package/docs/wiki/Function.IsReferenceObject.md +2 -2
  129. package/docs/wiki/Function.NotContainsReferenceObjects.md +6 -4
  130. package/docs/wiki/Function.OpenApiInit.md +4 -4
  131. package/docs/wiki/Function.getJsonContentSchema.md +4 -4
  132. package/docs/wiki/Function.getJsonSchema.md +4 -4
  133. package/docs/wiki/Function.hasJsonContentSchema.md +7 -5
  134. package/docs/wiki/Function.hasJsonSchema.md +2 -2
  135. package/docs/wiki/Home.md +5 -3
  136. package/docs/wiki/Interface.OpenApiInitOptions.md +5 -5
  137. package/docs/wiki/Interface.OpenApiMetaData.md +11 -11
  138. package/docs/wiki/Interface.OperationObjectWithMetadata.md +26 -26
  139. package/docs/wiki/Interface.SchemaValidationResponse.md +10 -8
  140. package/docs/wiki/TypeAlias.OperationMap.md +2 -2
  141. package/docs/wiki/Variable.DEFAULT_OPEN_API_DATA_SOURCE_META_DATA.md +1 -1
  142. package/docs/wiki/Variable.DEFAULT_OPEN_API_REMOTE_METHOD_META_DATA.md +1 -1
  143. package/docs/wiki/Variable.DISABLE_SCHEMA_VALIDATION.md +1 -1
  144. package/docs/wiki/Variable.DISABLE_VALIDATION.md +1 -1
  145. package/docs/wiki/Variable.OPEN_API_OPERATION.md +1 -1
  146. package/docs/wiki/Variable.OPEN_API_OPERATION_ID.md +1 -1
  147. package/docs/wiki/Variable.OPEN_API_SERVER_ID.md +2 -2
  148. package/docs/wiki/Variable.OPEN_API_SERVER_INDEX.md +1 -1
  149. package/docs/wiki/Variable.RXAP_OPEN_API_CONFIG.md +1 -1
  150. package/docs/wiki/Variable.RXAP_OPEN_API_STRICT_VALIDATOR.md +1 -1
  151. package/docs/wiki/Variable.injectOpenApiBaseUrlHttpInterceptorFn.md +7 -0
  152. package/docs/wiki/_Sidebar.md +1 -1
  153. package/docs/wiki/globals.md +2 -2
  154. package/fesm2022/rxap-open-api-data-source-table.mjs +1 -1
  155. package/fesm2022/rxap-open-api-data-source-table.mjs.map +1 -1
  156. package/fesm2022/rxap-open-api-data-source.mjs +1 -1
  157. package/fesm2022/rxap-open-api-data-source.mjs.map +1 -1
  158. package/fesm2022/rxap-open-api-remote-method.mjs +6 -2
  159. package/fesm2022/rxap-open-api-remote-method.mjs.map +1 -1
  160. package/generators.json +16 -0
  161. package/package.json +28 -29
  162. package/src/generators/init/generator.js +120 -0
  163. package/src/generators/init/index.js +6 -0
  164. package/src/generators/init/schema.json +8 -0
  165. package/src/generators/package.json +3 -0
  166. package/compodoc/js/libs/vis.min.js +0 -47
  167. package/compodoc/js/menu-wc_es5.js +0 -40
  168. package/docs/html/functions/injectOpenApiBaseUrlHttpInterceptorFn.html +0 -1
  169. package/docs/markdown/functions/injectOpenApiBaseUrlHttpInterceptorFn.md +0 -25
  170. package/docs/wiki/Function.injectOpenApiBaseUrlHttpInterceptorFn.md +0 -21
  171. package/theme.css +0 -1
@@ -2,33 +2,39 @@
2
2
 
3
3
  # Class: SchemaValidationMixin\<Response, Parameters, RequestBody\>
4
4
 
5
- Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:33](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L33)
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
 
9
- • **Response** = `any`
9
+ ### Response
10
10
 
11
- • **Parameters** *extends* `Record`\<`string`, `any`\> \| `void` = `any`
11
+ `Response` = `any`
12
12
 
13
- • **RequestBody** = `any`
13
+ ### Parameters
14
+
15
+ `Parameters` *extends* `Record`\<`string`, `any`\> \| `void` = `any`
16
+
17
+ ### RequestBody
18
+
19
+ `RequestBody` = `any`
14
20
 
15
21
  ## Constructors
16
22
 
17
- ### new SchemaValidationMixin()
23
+ ### Constructor
18
24
 
19
- > **new SchemaValidationMixin**\<`Response`, `Parameters`, `RequestBody`\>(): [`SchemaValidationMixin`](../wiki/Class.SchemaValidationMixin)\<`Response`, `Parameters`, `RequestBody`\>
25
+ > **new SchemaValidationMixin**\<`Response`, `Parameters`, `RequestBody`\>(): `SchemaValidationMixin`\<`Response`, `Parameters`, `RequestBody`\>
20
26
 
21
27
  #### Returns
22
28
 
23
- [`SchemaValidationMixin`](../wiki/Class.SchemaValidationMixin)\<`Response`, `Parameters`, `RequestBody`\>
29
+ `SchemaValidationMixin`\<`Response`, `Parameters`, `RequestBody`\>
24
30
 
25
31
  ## Properties
26
32
 
27
33
  ### disableSchemaValidation?
28
34
 
29
- > `protected` `optional` **disableSchemaValidation**: `boolean`
35
+ > `protected` `optional` **disableSchemaValidation?**: `boolean`
30
36
 
31
- Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:37](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L37)
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)
32
38
 
33
39
  ***
34
40
 
@@ -36,15 +42,15 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:37](ht
36
42
 
37
43
  > `static` **STRICT**: `boolean` = `false`
38
44
 
39
- Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:35](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L35)
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)
40
46
 
41
47
  ## Methods
42
48
 
43
49
  ### buildHttpHeaders()
44
50
 
45
- > **buildHttpHeaders**(`operationParameters`, `parameters`?): `HttpHeaders`
51
+ > **buildHttpHeaders**(`operationParameters`, `parameters?`): `HttpHeaders`
46
52
 
47
- Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:297](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L297)
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)
48
54
 
49
55
  #### Parameters
50
56
 
@@ -64,9 +70,9 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:297](h
64
70
 
65
71
  ### buildHttpOptions()
66
72
 
67
- > **buildHttpOptions**(`operation`, `parameters`?, `requestBody`?, `ignoreUndefined`?): `HttpRemoteMethodParameter`
73
+ > **buildHttpOptions**(`operation`, `parameters?`, `requestBody?`, `ignoreUndefined?`): `HttpRemoteMethodParameter`
68
74
 
69
- Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:381](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L381)
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)
70
76
 
71
77
  Converts open api parameters into the corresponding http options to
72
78
  create a http request. The transformation is guided by the openapi definition
@@ -97,9 +103,9 @@ create a http request. The transformation is guided by the openapi definition
97
103
 
98
104
  ### buildHttpParams()
99
105
 
100
- > **buildHttpParams**(`operationParameters`, `parameters`?, `ignoreUndefined`?): `HttpParams`
106
+ > **buildHttpParams**(`operationParameters`, `parameters?`, `ignoreUndefined?`): `HttpParams`
101
107
 
102
- Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:248](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L248)
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)
103
109
 
104
110
  #### Parameters
105
111
 
@@ -123,9 +129,9 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:248](h
123
129
 
124
130
  ### buildHttpPathParams()
125
131
 
126
- > **buildHttpPathParams**(`operationParameters`, `parameters`?): `Record`\<`string`, `string`\>
132
+ > **buildHttpPathParams**(`operationParameters`, `parameters?`): `Record`\<`string`, `string`\>
127
133
 
128
- Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:332](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L332)
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)
129
135
 
130
136
  #### Parameters
131
137
 
@@ -147,7 +153,7 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:332](h
147
153
 
148
154
  > `protected` **normalizePathParamValue**(`value`, `paramName`): `string`
149
155
 
150
- Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:355](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L355)
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)
151
157
 
152
158
  #### Parameters
153
159
 
@@ -167,9 +173,9 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:355](h
167
173
 
168
174
  ### validateParameters()
169
175
 
170
- > `protected` **validateParameters**(`operation`, `parameters`?, `strict`?): `void`
176
+ > `protected` **validateParameters**(`operation`, `parameters?`, `strict?`): `void`
171
177
 
172
- Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:47](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L47)
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)
173
179
 
174
180
  Validates the parameters against the schema specified in the operation object
175
181
 
@@ -195,9 +201,9 @@ Validates the parameters against the schema specified in the operation object
195
201
 
196
202
  ### validateRequestBody()
197
203
 
198
- > **validateRequestBody**(`operation`, `body`?, `strict`?): `void`
204
+ > **validateRequestBody**(`operation`, `body?`, `strict?`): `void`
199
205
 
200
- Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:193](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L193)
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)
201
207
 
202
208
  #### Parameters
203
209
 
@@ -221,9 +227,9 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:193](h
221
227
 
222
228
  ### validateResponse()
223
229
 
224
- > `protected` **validateResponse**(`operation`, `response`, `strict`): `void`
230
+ > `protected` **validateResponse**(`operation`, `response`, `strict?`): `void`
225
231
 
226
- Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:124](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L124)
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)
227
233
 
228
234
  Validates the http response against the schema specified in the operation object
229
235
 
@@ -237,7 +243,7 @@ Validates the http response against the schema specified in the operation object
237
243
 
238
244
  [`SchemaValidationResponse`](../wiki/Interface.SchemaValidationResponse)\<`Response`\>
239
245
 
240
- ##### strict
246
+ ##### strict?
241
247
 
242
248
  `boolean` = `false`
243
249
 
@@ -249,9 +255,9 @@ Validates the http response against the schema specified in the operation object
249
255
 
250
256
  ### validationError()
251
257
 
252
- > **validationError**(`message`, `strict`, `schema`?, `value`?): `void`
258
+ > **validationError**(`message`, `strict`, `schema?`, `value?`): `void`
253
259
 
254
- Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:226](https://gitlab.com/rxap/packages/-/blob/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/open-api/src/lib/schema-validation.mixin.ts#L226)
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)
255
261
 
256
262
  #### Parameters
257
263
 
@@ -265,7 +271,7 @@ Defined in: [packages/angular/open-api/src/lib/schema-validation.mixin.ts:226](h
265
271
 
266
272
  ##### schema?
267
273
 
268
- `ReferenceObject` | `SchemaObject`
274
+ `ReferenceObject` \| `SchemaObject`
269
275
 
270
276
  ##### value?
271
277
 
@@ -2,9 +2,9 @@
2
2
 
3
3
  # Function: AssertOpenApiV3()
4
4
 
5
- > **AssertOpenApiV3**(`obj`?): `asserts obj is Document<{}>`
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/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/open-api/src/lib/utilities.ts#L18)
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
 
@@ -2,9 +2,9 @@
2
2
 
3
3
  # Function: IsOpenApiV3()
4
4
 
5
- > **IsOpenApiV3**(`obj`?): `obj is Document<{}>`
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/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/open-api/src/lib/utilities.ts#L14)
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
 
@@ -2,9 +2,9 @@
2
2
 
3
3
  # Function: IsReferenceObject()
4
4
 
5
- > **IsReferenceObject**(`obj`?): `obj is ReferenceObject`
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/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/open-api/src/lib/utilities.ts#L6)
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
 
@@ -2,19 +2,21 @@
2
2
 
3
3
  # Function: NotContainsReferenceObjects()
4
4
 
5
- > **NotContainsReferenceObjects**\<`T`\>(`array`?): `array is T[]`
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/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/open-api/src/lib/utilities.ts#L10)
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
 
11
- • **T**
11
+ ### T
12
+
13
+ `T`
12
14
 
13
15
  ## Parameters
14
16
 
15
17
  ### array?
16
18
 
17
- (`undefined` \| `ReferenceObject` \| `T`)[]
19
+ (`ReferenceObject` \| `T` \| `undefined`)[]
18
20
 
19
21
  ## Returns
20
22
 
@@ -2,9 +2,9 @@
2
2
 
3
3
  # Function: OpenApiInit()
4
4
 
5
- > **OpenApiInit**(`environment`, `options`): `undefined` \| `Promise`\<`void`\>
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/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/open-api/src/lib/open-api-init.ts#L20)
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
 
@@ -12,10 +12,10 @@ Defined in: [packages/angular/open-api/src/lib/open-api-init.ts:20](https://gitl
12
12
 
13
13
  `Environment`
14
14
 
15
- ### options
15
+ ### options?
16
16
 
17
17
  [`OpenApiInitOptions`](../wiki/Interface.OpenApiInitOptions) = `{}`
18
18
 
19
19
  ## Returns
20
20
 
21
- `undefined` \| `Promise`\<`void`\>
21
+ `Promise`\<`void`\> \| `undefined`
@@ -2,16 +2,16 @@
2
2
 
3
3
  # Function: getJsonContentSchema()
4
4
 
5
- > **getJsonContentSchema**(`data`): `null` \| `SchemaObject`
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/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/open-api/src/lib/utilities.ts#L32)
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
 
11
11
  ### data
12
12
 
13
- `RequestBodyObject` | `ResponseObject`
13
+ `RequestBodyObject` \| `ResponseObject`
14
14
 
15
15
  ## Returns
16
16
 
17
- `null` \| `SchemaObject`
17
+ `SchemaObject` \| `null`
@@ -2,16 +2,16 @@
2
2
 
3
3
  # Function: getJsonSchema()
4
4
 
5
- > **getJsonSchema**(`map`): `null` \| `SchemaObject`
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/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/open-api/src/lib/utilities.ts#L45)
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
 
11
11
  ### map
12
12
 
13
- `Record`\<`string`, `MediaTypeObject`\>
13
+ `Record`\<`string`, `OpenAPIV3.MediaTypeObject`\>
14
14
 
15
15
  ## Returns
16
16
 
17
- `null` \| `SchemaObject`
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/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/open-api/src/lib/utilities.ts#L26)
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
 
11
- • **T** *extends* `RequestBodyObject` \| `ResponseObject`
11
+ ### T
12
+
13
+ `T` *extends* `RequestBodyObject` \| `ResponseObject`
12
14
 
13
15
  ## Parameters
14
16
 
15
17
  ### data
16
18
 
17
- `undefined` | `ReferenceObject` | `T`
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/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/open-api/src/lib/utilities.ts#L41)
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
 
11
11
  ### map
12
12
 
13
- `undefined` | `Record`\<`string`, `MediaTypeObject`\>
13
+ `Record`\<`string`, `MediaTypeObject`\> \| `undefined`
14
14
 
15
15
  ## Returns
16
16
 
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
- yarn add @rxap/open-api
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
- yarn add @angular/common @angular/core @rxap/config @rxap/data-source @rxap/environment @rxap/mixin @rxap/remote-method @rxap/rxjs @rxap/utilities ajv openapi-types rxjs
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
- yarn nx g @rxap/open-api:init
28
+ nx g @rxap/open-api:init
27
29
  ```
28
30
  # Generators
29
31
 
@@ -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/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/open-api/src/lib/open-api-init.ts#L6)
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
 
9
9
  ### load?
10
10
 
11
- > `optional` **load**: `boolean` \| \{ `openApiUrl`: `string`; \}
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/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/open-api/src/lib/open-api-init.ts#L11)
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
@@ -19,8 +19,8 @@ default url: openapi.json
19
19
 
20
20
  ### origin?
21
21
 
22
- > `optional` **origin**: `string`
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/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/open-api/src/lib/open-api-init.ts#L17)
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/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/open-api/src/lib/open-api.meta-data.ts#L4)
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
 
@@ -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/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/open-api/src/lib/open-api.meta-data.ts#L17)
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
 
@@ -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**: `string` \| [`OperationObjectWithMetadata`](../wiki/Interface.OperationObjectWithMetadata)
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/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/open-api/src/lib/open-api.meta-data.ts#L8)
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
 
@@ -38,9 +38,9 @@ The operation object with path and method
38
38
 
39
39
  ### refresh?
40
40
 
41
- > `optional` **refresh**: (`Type`\<`Refreshable`\> \| `InjectionToken`\<`Refreshable`\> \| `AbstractType`\<`Refreshable`\>)[]
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/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/remote-method/src/lib/base.remote-method.ts#L25)
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
 
@@ -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**: `string`
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/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/open-api/src/lib/open-api.meta-data.ts#L16)
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
 
@@ -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**: `number`
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/c8145693a1e685c856c9997ae6c17bbf32838e79/packages/angular/open-api/src/lib/open-api.meta-data.ts#L12)
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