@rxap/open-api 19.0.1-dev.2 → 19.0.1-dev.5

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 (112) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +24 -26
  3. package/compodoc/changelog.html +6 -0
  4. package/compodoc/dependencies.html +8 -8
  5. package/compodoc/index.html +26 -20
  6. package/compodoc/js/search/search_index.js +2 -2
  7. package/compodoc/properties.html +3 -2
  8. package/docs/documentation.json +737 -1472
  9. package/docs/html/assets/hierarchy.js +1 -0
  10. package/docs/{assets → html/assets}/highlight.css +13 -6
  11. package/docs/html/assets/icons.js +18 -0
  12. package/docs/html/assets/icons.svg +1 -0
  13. package/docs/{assets → html/assets}/main.js +5 -4
  14. package/docs/html/assets/navigation.js +1 -0
  15. package/docs/html/assets/search.js +1 -0
  16. package/docs/html/assets/style.css +1611 -0
  17. package/docs/html/classes/OpenApiConfigService.html +17 -0
  18. package/docs/html/classes/OpenApiHttpResponseError.html +22 -0
  19. package/docs/html/classes/RxapOpenApiError.html +26 -0
  20. package/docs/html/classes/SchemaValidationMixin.html +16 -0
  21. package/docs/html/functions/AssertOpenApiV3.html +1 -0
  22. package/docs/html/functions/IsOpenApiV3.html +1 -0
  23. package/docs/html/functions/IsReferenceObject.html +1 -0
  24. package/docs/html/functions/NotContainsReferenceObjects.html +1 -0
  25. package/docs/html/functions/OpenApiInit.html +1 -0
  26. package/docs/html/index.html +33 -0
  27. package/docs/html/interfaces/OpenApiInitOptions.html +6 -0
  28. package/docs/html/interfaces/OpenApiMetaData.html +9 -0
  29. package/docs/html/interfaces/OperationObjectWithMetadata.html +15 -0
  30. package/docs/html/interfaces/SchemaValidationResponse.html +5 -0
  31. package/docs/html/modules.html +1 -0
  32. package/docs/html/types/OperationMap.html +1 -0
  33. package/docs/html/variables/DEFAULT_OPEN_API_DATA_SOURCE_META_DATA.html +1 -0
  34. package/docs/html/variables/DEFAULT_OPEN_API_REMOTE_METHOD_META_DATA.html +1 -0
  35. package/docs/html/variables/DISABLE_SCHEMA_VALIDATION.html +1 -0
  36. package/docs/html/variables/DISABLE_VALIDATION.html +1 -0
  37. package/docs/html/variables/RXAP_OPEN_API_CONFIG.html +1 -0
  38. package/docs/html/variables/RXAP_OPEN_API_STRICT_VALIDATOR.html +1 -0
  39. package/docs/markdown/README.md +37 -0
  40. package/docs/markdown/classes/OpenApiConfigService.md +217 -0
  41. package/docs/markdown/classes/OpenApiHttpResponseError.md +205 -0
  42. package/docs/markdown/classes/RxapOpenApiError.md +265 -0
  43. package/docs/markdown/classes/SchemaValidationMixin.md +258 -0
  44. package/docs/markdown/functions/AssertOpenApiV3.md +21 -0
  45. package/docs/markdown/functions/IsOpenApiV3.md +21 -0
  46. package/docs/markdown/functions/IsReferenceObject.md +21 -0
  47. package/docs/markdown/functions/NotContainsReferenceObjects.md +25 -0
  48. package/docs/markdown/functions/OpenApiInit.md +25 -0
  49. package/docs/markdown/globals.md +40 -0
  50. package/docs/markdown/interfaces/OpenApiInitOptions.md +30 -0
  51. package/docs/markdown/interfaces/OpenApiMetaData.md +71 -0
  52. package/docs/markdown/interfaces/OperationObjectWithMetadata.md +177 -0
  53. package/docs/markdown/interfaces/SchemaValidationResponse.md +45 -0
  54. package/docs/markdown/type-aliases/OperationMap.md +11 -0
  55. package/docs/markdown/variables/DEFAULT_OPEN_API_DATA_SOURCE_META_DATA.md +11 -0
  56. package/docs/markdown/variables/DEFAULT_OPEN_API_REMOTE_METHOD_META_DATA.md +11 -0
  57. package/docs/markdown/variables/DISABLE_SCHEMA_VALIDATION.md +11 -0
  58. package/docs/markdown/variables/DISABLE_VALIDATION.md +11 -0
  59. package/docs/markdown/variables/RXAP_OPEN_API_CONFIG.md +11 -0
  60. package/docs/markdown/variables/RXAP_OPEN_API_STRICT_VALIDATOR.md +11 -0
  61. package/docs/wiki/Class.OpenApiConfigService.md +213 -0
  62. package/docs/wiki/Class.OpenApiHttpResponseError.md +201 -0
  63. package/docs/wiki/Class.RxapOpenApiError.md +261 -0
  64. package/docs/wiki/Class.SchemaValidationMixin.md +254 -0
  65. package/docs/wiki/Function.AssertOpenApiV3.md +17 -0
  66. package/docs/wiki/Function.IsOpenApiV3.md +17 -0
  67. package/docs/wiki/Function.IsReferenceObject.md +17 -0
  68. package/docs/wiki/Function.NotContainsReferenceObjects.md +21 -0
  69. package/docs/wiki/Function.OpenApiInit.md +21 -0
  70. package/docs/wiki/Home.md +33 -0
  71. package/docs/wiki/Interface.OpenApiInitOptions.md +26 -0
  72. package/docs/wiki/Interface.OpenApiMetaData.md +67 -0
  73. package/docs/wiki/Interface.OperationObjectWithMetadata.md +173 -0
  74. package/docs/wiki/Interface.SchemaValidationResponse.md +41 -0
  75. package/docs/wiki/TypeAlias.OperationMap.md +7 -0
  76. package/docs/wiki/Variable.DEFAULT_OPEN_API_DATA_SOURCE_META_DATA.md +7 -0
  77. package/docs/wiki/Variable.DEFAULT_OPEN_API_REMOTE_METHOD_META_DATA.md +7 -0
  78. package/docs/wiki/Variable.DISABLE_SCHEMA_VALIDATION.md +7 -0
  79. package/docs/wiki/Variable.DISABLE_VALIDATION.md +7 -0
  80. package/docs/wiki/Variable.RXAP_OPEN_API_CONFIG.md +7 -0
  81. package/docs/wiki/Variable.RXAP_OPEN_API_STRICT_VALIDATOR.md +7 -0
  82. package/docs/wiki/_Sidebar.md +36 -0
  83. package/docs/wiki/globals.md +36 -0
  84. package/package.json +23 -22
  85. package/docs/assets/icons.js +0 -15
  86. package/docs/assets/icons.svg +0 -1
  87. package/docs/assets/navigation.js +0 -1
  88. package/docs/assets/search.js +0 -1
  89. package/docs/assets/style.css +0 -1412
  90. package/docs/classes/OpenApiConfigService.html +0 -26
  91. package/docs/classes/OpenApiHttpResponseError.html +0 -22
  92. package/docs/classes/RxapOpenApiError.html +0 -26
  93. package/docs/classes/SchemaValidationMixin.html +0 -18
  94. package/docs/functions/AssertOpenApiV3.html +0 -1
  95. package/docs/functions/IsOpenApiV3.html +0 -1
  96. package/docs/functions/IsReferenceObject.html +0 -1
  97. package/docs/functions/NotContainsReferenceObjects.html +0 -1
  98. package/docs/functions/OpenApiInit.html +0 -1
  99. package/docs/index.html +0 -28
  100. package/docs/interfaces/OpenApiInitOptions.html +0 -6
  101. package/docs/interfaces/OpenApiMetaData.html +0 -9
  102. package/docs/interfaces/OperationObjectWithMetadata.html +0 -15
  103. package/docs/interfaces/SchemaValidationResponse.html +0 -5
  104. package/docs/modules.html +0 -21
  105. package/docs/types/OperationMap.html +0 -1
  106. package/docs/variables/DEFAULT_OPEN_API_DATA_SOURCE_META_DATA.html +0 -1
  107. package/docs/variables/DEFAULT_OPEN_API_REMOTE_METHOD_META_DATA.html +0 -1
  108. package/docs/variables/DISABLE_SCHEMA_VALIDATION.html +0 -1
  109. package/docs/variables/DISABLE_VALIDATION.html +0 -1
  110. package/docs/variables/RXAP_OPEN_API_CONFIG.html +0 -1
  111. package/docs/variables/RXAP_OPEN_API_STRICT_VALIDATOR.html +0 -1
  112. /package/docs/{.nojekyll → html/.nojekyll} +0 -0
@@ -0,0 +1,217 @@
1
+ [**@rxap/open-api**](../README.md)
2
+
3
+ ***
4
+
5
+ [@rxap/open-api](../globals.md) / OpenApiConfigService
6
+
7
+ # Class: OpenApiConfigService
8
+
9
+ Defined in: [packages/angular/open-api/src/lib/open-api-config.service.ts:18](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/open-api/src/lib/open-api-config.service.ts#L18)
10
+
11
+ ## Constructors
12
+
13
+ ### new OpenApiConfigService()
14
+
15
+ > **new OpenApiConfigService**(`config`): [`OpenApiConfigService`](OpenApiConfigService.md)
16
+
17
+ Defined in: [packages/angular/open-api/src/lib/open-api-config.service.ts:36](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/open-api/src/lib/open-api-config.service.ts#L36)
18
+
19
+ #### Parameters
20
+
21
+ ##### config
22
+
23
+ `null` | `Document`\<\{\}\>
24
+
25
+ #### Returns
26
+
27
+ [`OpenApiConfigService`](OpenApiConfigService.md)
28
+
29
+ ## Properties
30
+
31
+ ### defaultServerIndex
32
+
33
+ > **defaultServerIndex**: `number` = `OpenApiConfigService.DefaultServerIndex`
34
+
35
+ Defined in: [packages/angular/open-api/src/lib/open-api-config.service.ts:24](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/open-api/src/lib/open-api-config.service.ts#L24)
36
+
37
+ ***
38
+
39
+ ### Config
40
+
41
+ > `static` **Config**: `null` \| `Document`\<\{\}\> = `null`
42
+
43
+ Defined in: [packages/angular/open-api/src/lib/open-api-config.service.ts:19](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/open-api/src/lib/open-api-config.service.ts#L19)
44
+
45
+ ***
46
+
47
+ ### DefaultServerIndex
48
+
49
+ > `static` **DefaultServerIndex**: `number` = `0`
50
+
51
+ Defined in: [packages/angular/open-api/src/lib/open-api-config.service.ts:21](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/open-api/src/lib/open-api-config.service.ts#L21)
52
+
53
+ ## Accessors
54
+
55
+ ### config
56
+
57
+ #### Get Signature
58
+
59
+ > **get** **config**(): `Document`
60
+
61
+ Defined in: [packages/angular/open-api/src/lib/open-api-config.service.ts:51](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/open-api/src/lib/open-api-config.service.ts#L51)
62
+
63
+ ##### Returns
64
+
65
+ `Document`
66
+
67
+ ***
68
+
69
+ ### serverIds
70
+
71
+ #### Get Signature
72
+
73
+ > **get** **serverIds**(): `string`[]
74
+
75
+ Defined in: [packages/angular/open-api/src/lib/open-api-config.service.ts:32](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/open-api/src/lib/open-api-config.service.ts#L32)
76
+
77
+ ##### Returns
78
+
79
+ `string`[]
80
+
81
+ ## Methods
82
+
83
+ ### getBaseUrl()
84
+
85
+ > **getBaseUrl**(`serverIndex`, `serverId`?): `string`
86
+
87
+ Defined in: [packages/angular/open-api/src/lib/open-api-config.service.ts:208](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/open-api/src/lib/open-api-config.service.ts#L208)
88
+
89
+ #### Parameters
90
+
91
+ ##### serverIndex
92
+
93
+ `number` = `...`
94
+
95
+ ##### serverId?
96
+
97
+ `string`
98
+
99
+ #### Returns
100
+
101
+ `string`
102
+
103
+ ***
104
+
105
+ ### getOperation()
106
+
107
+ > **getOperation**(`operationId`): [`OperationObjectWithMetadata`](../interfaces/OperationObjectWithMetadata.md)
108
+
109
+ Defined in: [packages/angular/open-api/src/lib/open-api-config.service.ts:189](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/open-api/src/lib/open-api-config.service.ts#L189)
110
+
111
+ #### Parameters
112
+
113
+ ##### operationId
114
+
115
+ `string`
116
+
117
+ #### Returns
118
+
119
+ [`OperationObjectWithMetadata`](../interfaces/OperationObjectWithMetadata.md)
120
+
121
+ ***
122
+
123
+ ### insertServer()
124
+
125
+ > **insertServer**(`serverConfig`, `index`, `serverId`?): `void`
126
+
127
+ Defined in: [packages/angular/open-api/src/lib/open-api-config.service.ts:247](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/open-api/src/lib/open-api-config.service.ts#L247)
128
+
129
+ #### Parameters
130
+
131
+ ##### serverConfig
132
+
133
+ `ServerObject`
134
+
135
+ ##### index
136
+
137
+ `number` = `...`
138
+
139
+ ##### serverId?
140
+
141
+ `string`
142
+
143
+ #### Returns
144
+
145
+ `void`
146
+
147
+ ***
148
+
149
+ ### GetOperation()
150
+
151
+ > `static` **GetOperation**(`operationId`): [`OperationObjectWithMetadata`](../interfaces/OperationObjectWithMetadata.md)
152
+
153
+ Defined in: [packages/angular/open-api/src/lib/open-api-config.service.ts:97](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/open-api/src/lib/open-api-config.service.ts#L97)
154
+
155
+ #### Parameters
156
+
157
+ ##### operationId
158
+
159
+ `string`
160
+
161
+ #### Returns
162
+
163
+ [`OperationObjectWithMetadata`](../interfaces/OperationObjectWithMetadata.md)
164
+
165
+ ***
166
+
167
+ ### InsertServer()
168
+
169
+ > `static` **InsertServer**(`serverConfig`, `index`, `serverId`?, `config`?): `void`
170
+
171
+ Defined in: [packages/angular/open-api/src/lib/open-api-config.service.ts:227](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/open-api/src/lib/open-api-config.service.ts#L227)
172
+
173
+ #### Parameters
174
+
175
+ ##### serverConfig
176
+
177
+ `ServerObject`
178
+
179
+ ##### index
180
+
181
+ `number`
182
+
183
+ ##### serverId?
184
+
185
+ `string`
186
+
187
+ ##### config?
188
+
189
+ `Document` = `...`
190
+
191
+ #### Returns
192
+
193
+ `void`
194
+
195
+ ***
196
+
197
+ ### Load()
198
+
199
+ > `static` **Load**(`openApiUrl`): `Promise`\<`void`\>
200
+
201
+ Defined in: [packages/angular/open-api/src/lib/open-api-config.service.ts:66](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/open-api/src/lib/open-api-config.service.ts#L66)
202
+
203
+ Used to load the app open api config from a remote resource.
204
+
205
+ Promise.all([ OpenApiDataSourceLoader.Load() ])
206
+ .then(() => platformBrowserDynamic().bootstrapModule(AppModule))
207
+ .catch(err => console.error(err))
208
+
209
+ #### Parameters
210
+
211
+ ##### openApiUrl
212
+
213
+ `string` = `'openapi.json'`
214
+
215
+ #### Returns
216
+
217
+ `Promise`\<`void`\>
@@ -0,0 +1,205 @@
1
+ [**@rxap/open-api**](../README.md)
2
+
3
+ ***
4
+
5
+ [@rxap/open-api](../globals.md) / OpenApiHttpResponseError
6
+
7
+ # Class: OpenApiHttpResponseError
8
+
9
+ Defined in: [packages/angular/open-api/src/lib/open-api-http-response.error.ts:4](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/open-api/src/lib/open-api-http-response.error.ts#L4)
10
+
11
+ ## Extends
12
+
13
+ - `HttpErrorResponse`
14
+
15
+ ## Constructors
16
+
17
+ ### new OpenApiHttpResponseError()
18
+
19
+ > **new OpenApiHttpResponseError**(`httpErrorResponse`, `metadata`): [`OpenApiHttpResponseError`](OpenApiHttpResponseError.md)
20
+
21
+ Defined in: [packages/angular/open-api/src/lib/open-api-http-response.error.ts:6](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/open-api/src/lib/open-api-http-response.error.ts#L6)
22
+
23
+ #### Parameters
24
+
25
+ ##### httpErrorResponse
26
+
27
+ `HttpErrorResponse`
28
+
29
+ ##### metadata
30
+
31
+ [`OpenApiMetaData`](../interfaces/OpenApiMetaData.md)
32
+
33
+ #### Returns
34
+
35
+ [`OpenApiHttpResponseError`](OpenApiHttpResponseError.md)
36
+
37
+ #### Overrides
38
+
39
+ `HttpErrorResponse.constructor`
40
+
41
+ ## Properties
42
+
43
+ ### error
44
+
45
+ > `readonly` **error**: `any`
46
+
47
+ Defined in: node\_modules/@angular/common/http/index.d.ts:3370
48
+
49
+ #### Inherited from
50
+
51
+ `HttpErrorResponse.error`
52
+
53
+ ***
54
+
55
+ ### headers
56
+
57
+ > `readonly` **headers**: `HttpHeaders`
58
+
59
+ Defined in: node\_modules/@angular/common/http/index.d.ts:4102
60
+
61
+ All response headers.
62
+
63
+ #### Inherited from
64
+
65
+ `HttpErrorResponse.headers`
66
+
67
+ ***
68
+
69
+ ### httpErrorResponse
70
+
71
+ > `readonly` **httpErrorResponse**: `HttpErrorResponse`
72
+
73
+ Defined in: [packages/angular/open-api/src/lib/open-api-http-response.error.ts:7](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/open-api/src/lib/open-api-http-response.error.ts#L7)
74
+
75
+ ***
76
+
77
+ ### message
78
+
79
+ > `readonly` **message**: `string`
80
+
81
+ Defined in: node\_modules/@angular/common/http/index.d.ts:3369
82
+
83
+ #### Inherited from
84
+
85
+ `HttpErrorResponse.message`
86
+
87
+ ***
88
+
89
+ ### metadata
90
+
91
+ > `readonly` **metadata**: [`OpenApiMetaData`](../interfaces/OpenApiMetaData.md)
92
+
93
+ Defined in: [packages/angular/open-api/src/lib/open-api-http-response.error.ts:8](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/open-api/src/lib/open-api-http-response.error.ts#L8)
94
+
95
+ ***
96
+
97
+ ### name
98
+
99
+ > `readonly` **name**: `"HttpErrorResponse"` = `"HttpErrorResponse"`
100
+
101
+ Defined in: node\_modules/@angular/common/http/index.d.ts:3368
102
+
103
+ #### Inherited from
104
+
105
+ `HttpErrorResponse.name`
106
+
107
+ ***
108
+
109
+ ### ok
110
+
111
+ > `readonly` **ok**: `false` = `false`
112
+
113
+ Defined in: node\_modules/@angular/common/http/index.d.ts:3374
114
+
115
+ Errors are never okay, even when the status code is in the 2xx success range.
116
+
117
+ #### Inherited from
118
+
119
+ `HttpErrorResponse.ok`
120
+
121
+ ***
122
+
123
+ ### status
124
+
125
+ > `readonly` **status**: `number`
126
+
127
+ Defined in: node\_modules/@angular/common/http/index.d.ts:4106
128
+
129
+ Response status code.
130
+
131
+ #### Inherited from
132
+
133
+ `HttpErrorResponse.status`
134
+
135
+ ***
136
+
137
+ ### statusText
138
+
139
+ > `readonly` **statusText**: `string`
140
+
141
+ Defined in: node\_modules/@angular/common/http/index.d.ts:4112
142
+
143
+ Textual description of response status code, defaults to OK.
144
+
145
+ Do not depend on this.
146
+
147
+ #### Inherited from
148
+
149
+ `HttpErrorResponse.statusText`
150
+
151
+ ***
152
+
153
+ ### type
154
+
155
+ > `readonly` **type**: `ResponseHeader` \| `Response`
156
+
157
+ Defined in: node\_modules/@angular/common/http/index.d.ts:4124
158
+
159
+ Type of the response, narrowed to either the full response or the header.
160
+
161
+ #### Inherited from
162
+
163
+ `HttpErrorResponse.type`
164
+
165
+ ***
166
+
167
+ ### url
168
+
169
+ > `readonly` **url**: `null` \| `string`
170
+
171
+ Defined in: node\_modules/@angular/common/http/index.d.ts:4116
172
+
173
+ URL of the resource retrieved, or null if not available.
174
+
175
+ #### Inherited from
176
+
177
+ `HttpErrorResponse.url`
178
+
179
+ ## Accessors
180
+
181
+ ### operationId
182
+
183
+ #### Get Signature
184
+
185
+ > **get** **operationId**(): `string`
186
+
187
+ Defined in: [packages/angular/open-api/src/lib/open-api-http-response.error.ts:23](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/open-api/src/lib/open-api-http-response.error.ts#L23)
188
+
189
+ ##### Returns
190
+
191
+ `string`
192
+
193
+ ***
194
+
195
+ ### serverId
196
+
197
+ #### Get Signature
198
+
199
+ > **get** **serverId**(): `undefined` \| `string`
200
+
201
+ Defined in: [packages/angular/open-api/src/lib/open-api-http-response.error.ts:27](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/open-api/src/lib/open-api-http-response.error.ts#L27)
202
+
203
+ ##### Returns
204
+
205
+ `undefined` \| `string`
@@ -0,0 +1,265 @@
1
+ [**@rxap/open-api**](../README.md)
2
+
3
+ ***
4
+
5
+ [@rxap/open-api](../globals.md) / RxapOpenApiError
6
+
7
+ # Class: RxapOpenApiError
8
+
9
+ Defined in: [packages/angular/open-api/src/lib/error.ts:3](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/open-api/src/lib/error.ts#L3)
10
+
11
+ ## Extends
12
+
13
+ - `RxapError`
14
+
15
+ ## Constructors
16
+
17
+ ### new RxapOpenApiError()
18
+
19
+ > **new RxapOpenApiError**(`message`, `code`?, `scope`?): [`RxapOpenApiError`](RxapOpenApiError.md)
20
+
21
+ Defined in: [packages/angular/open-api/src/lib/error.ts:5](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/angular/open-api/src/lib/error.ts#L5)
22
+
23
+ #### Parameters
24
+
25
+ ##### message
26
+
27
+ `string`
28
+
29
+ ##### code?
30
+
31
+ `string`
32
+
33
+ ##### scope?
34
+
35
+ `string`
36
+
37
+ #### Returns
38
+
39
+ [`RxapOpenApiError`](RxapOpenApiError.md)
40
+
41
+ #### Overrides
42
+
43
+ `RxapError.constructor`
44
+
45
+ ## Properties
46
+
47
+ ### \_packageName
48
+
49
+ > `protected` **\_packageName**: `string`
50
+
51
+ Defined in: [packages/utilities/src/lib/error.ts:6](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/utilities/src/lib/error.ts#L6)
52
+
53
+ #### Inherited from
54
+
55
+ `RxapError._packageName`
56
+
57
+ ***
58
+
59
+ ### code?
60
+
61
+ > `readonly` `optional` **code**: `string`
62
+
63
+ Defined in: [packages/utilities/src/lib/error.ts:8](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/utilities/src/lib/error.ts#L8)
64
+
65
+ #### Inherited from
66
+
67
+ `RxapError.code`
68
+
69
+ ***
70
+
71
+ ### message
72
+
73
+ > **message**: `string`
74
+
75
+ Defined in: node\_modules/typescript/lib/lib.es5.d.ts:1077
76
+
77
+ #### Inherited from
78
+
79
+ `RxapError.message`
80
+
81
+ ***
82
+
83
+ ### name
84
+
85
+ > **name**: `string`
86
+
87
+ Defined in: node\_modules/typescript/lib/lib.es5.d.ts:1076
88
+
89
+ #### Inherited from
90
+
91
+ `RxapError.name`
92
+
93
+ ***
94
+
95
+ ### scope?
96
+
97
+ > `readonly` `optional` **scope**: `string`
98
+
99
+ Defined in: [packages/utilities/src/lib/error.ts:9](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/utilities/src/lib/error.ts#L9)
100
+
101
+ #### Inherited from
102
+
103
+ `RxapError.scope`
104
+
105
+ ***
106
+
107
+ ### stack?
108
+
109
+ > `readonly` `optional` **stack**: `string`
110
+
111
+ Defined in: [packages/utilities/src/lib/error.ts:10](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/utilities/src/lib/error.ts#L10)
112
+
113
+ #### Inherited from
114
+
115
+ `RxapError.stack`
116
+
117
+ ## Accessors
118
+
119
+ ### className
120
+
121
+ #### Get Signature
122
+
123
+ > **get** **className**(): `undefined` \| `string`
124
+
125
+ Defined in: [packages/utilities/src/lib/error.ts:23](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/utilities/src/lib/error.ts#L23)
126
+
127
+ ##### Returns
128
+
129
+ `undefined` \| `string`
130
+
131
+ #### Inherited from
132
+
133
+ `RxapError.className`
134
+
135
+ ***
136
+
137
+ ### packageName
138
+
139
+ #### Get Signature
140
+
141
+ > **get** **packageName**(): `string`
142
+
143
+ Defined in: [packages/utilities/src/lib/error.ts:19](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/utilities/src/lib/error.ts#L19)
144
+
145
+ ##### Returns
146
+
147
+ `string`
148
+
149
+ #### Inherited from
150
+
151
+ `RxapError.packageName`
152
+
153
+ ## Methods
154
+
155
+ ### ~~addSubPackageName()~~
156
+
157
+ > `protected` **addSubPackageName**(`subPackageName`): `void`
158
+
159
+ Defined in: [packages/utilities/src/lib/error.ts:64](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/utilities/src/lib/error.ts#L64)
160
+
161
+ **`Internal`**
162
+
163
+ Add's the sub package name to the current package name.
164
+
165
+ current package name -> with sub package name
166
+ @rxap/package -> @rxap/package/sub
167
+
168
+ #### Parameters
169
+
170
+ ##### subPackageName
171
+
172
+ `string`
173
+
174
+ The sub package name
175
+
176
+ #### Returns
177
+
178
+ `void`
179
+
180
+ #### Deprecated
181
+
182
+ removed
183
+
184
+ #### Inherited from
185
+
186
+ `RxapError.addSubPackageName`
187
+
188
+ ***
189
+
190
+ ### setPackageName()
191
+
192
+ > `protected` **setPackageName**(`packageName`): `void`
193
+
194
+ Defined in: [packages/utilities/src/lib/error.ts:74](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/utilities/src/lib/error.ts#L74)
195
+
196
+ **`Internal`**
197
+
198
+ Sets the package name
199
+
200
+ #### Parameters
201
+
202
+ ##### packageName
203
+
204
+ `string`
205
+
206
+ The new package name
207
+
208
+ #### Returns
209
+
210
+ `void`
211
+
212
+ #### Inherited from
213
+
214
+ `RxapError.setPackageName`
215
+
216
+ ***
217
+
218
+ ### ~~setSubPackageName()~~
219
+
220
+ > `protected` **setSubPackageName**(`subPackageName`): `void`
221
+
222
+ Defined in: [packages/utilities/src/lib/error.ts:49](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/utilities/src/lib/error.ts#L49)
223
+
224
+ **`Internal`**
225
+
226
+ Add's the sub package name to the current package name.
227
+
228
+ current package name -> with sub package name
229
+ @rxap/package -> @rxap/package/sub
230
+
231
+ #### Parameters
232
+
233
+ ##### subPackageName
234
+
235
+ `string`
236
+
237
+ The sub package name
238
+
239
+ #### Returns
240
+
241
+ `void`
242
+
243
+ #### Deprecated
244
+
245
+ use addSubPackageName instead
246
+
247
+ #### Inherited from
248
+
249
+ `RxapError.setSubPackageName`
250
+
251
+ ***
252
+
253
+ ### toJSON()
254
+
255
+ > **toJSON**(): `object`
256
+
257
+ Defined in: [packages/utilities/src/lib/error.ts:27](https://gitlab.com/rxap/packages/-/blob/969f0867a1da05a157f626d5bdd316bd0a67494a/packages/utilities/src/lib/error.ts#L27)
258
+
259
+ #### Returns
260
+
261
+ `object`
262
+
263
+ #### Inherited from
264
+
265
+ `RxapError.toJSON`