@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
package/compodoc/llms.txt
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
> This package provides tools for working with OpenAPI specifications in Angular applications. It includes services for configuring and loading OpenAPI definitions, validating requests and responses against schemas, and handling errors. It also offers utilities for building HTTP requests based on OpenAPI definitions.
|
|
4
4
|
|
|
5
|
-
> Generated by compodoc 2.0.0 at 2026-11-
|
|
5
|
+
> Generated by compodoc 2.0.0 at 2026-11-26T16:48:27.847Z, llm-md export.
|
|
6
6
|
|
|
7
7
|
## Services / Injectables
|
|
8
8
|
|
|
@@ -121,6 +121,8 @@ Properties:
|
|
|
121
121
|
Defined in `src/lib/utilities.ts`
|
|
122
122
|
- `OpenApiInit(environment: Environment, options: OpenApiInitOptions = {})`
|
|
123
123
|
Defined in `src/lib/open-api-init.ts`
|
|
124
|
+
- `resolvePackageDir(root: string, packageName: string): string` — Resolves the directory of a package installed in the workspace. The lookup starts at the workspace root, not at this package: with an isolated node\_modules layout (pnpm) or Yarn PnP the peer is not resolvable from here. The plain node\_modules path is the fallback for packages whose exports map hides their package.json.
|
|
125
|
+
Defined in `src/generators/init/generator.ts`
|
|
124
126
|
|
|
125
127
|
## Public type aliases
|
|
126
128
|
|
|
@@ -166,6 +166,9 @@
|
|
|
166
166
|
<li>
|
|
167
167
|
<a href="#OpenApiInit" title="src/lib/open-api-init.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>OpenApiInit</b> (src/.../open-api-init.ts)</span></a>
|
|
168
168
|
</li>
|
|
169
|
+
<li>
|
|
170
|
+
<a href="#resolvePackageDir" title="src/generators/init/generator.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>resolvePackageDir</b> (src/.../generator.ts)</span></a>
|
|
171
|
+
</li>
|
|
169
172
|
</ul>
|
|
170
173
|
</td>
|
|
171
174
|
</tr>
|
|
@@ -722,6 +725,84 @@
|
|
|
722
725
|
</tr>
|
|
723
726
|
</tbody>
|
|
724
727
|
</table>
|
|
728
|
+
<table class="table table-sm table-bordered">
|
|
729
|
+
<tbody>
|
|
730
|
+
<tr>
|
|
731
|
+
<td class="col-md-4">
|
|
732
|
+
<a name="resolvePackageDir"></a>
|
|
733
|
+
<span class="name">
|
|
734
|
+
<span ><b>resolvePackageDir</b></span>
|
|
735
|
+
<a href="#resolvePackageDir"><span class="icon ion-ios-link"></span></a>
|
|
736
|
+
</span>
|
|
737
|
+
</td>
|
|
738
|
+
</tr>
|
|
739
|
+
<tr>
|
|
740
|
+
<td class="col-md-4">
|
|
741
|
+
<code>resolvePackageDir(root: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>, packageName: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>)</code>
|
|
742
|
+
</td>
|
|
743
|
+
</tr>
|
|
744
|
+
|
|
745
|
+
|
|
746
|
+
|
|
747
|
+
|
|
748
|
+
<tr>
|
|
749
|
+
<td class="col-md-4">
|
|
750
|
+
<div class="io-description"><p>Resolves the directory of a package installed in the workspace. The lookup starts at the
|
|
751
|
+
workspace root, not at this package: with an isolated node_modules layout (pnpm) or Yarn PnP
|
|
752
|
+
the peer is not resolvable from here. The plain node_modules path is the fallback for packages
|
|
753
|
+
whose <code>exports</code> map hides their package.json.</p>
|
|
754
|
+
</div>
|
|
755
|
+
|
|
756
|
+
<div class="io-description">
|
|
757
|
+
<b>Parameters :</b>
|
|
758
|
+
|
|
759
|
+
<table class="params">
|
|
760
|
+
<thead>
|
|
761
|
+
<tr>
|
|
762
|
+
<td>Name</td>
|
|
763
|
+
<td>Type</td>
|
|
764
|
+
<td>Optional</td>
|
|
765
|
+
</tr>
|
|
766
|
+
</thead>
|
|
767
|
+
<tbody>
|
|
768
|
+
<tr>
|
|
769
|
+
<td>root</td>
|
|
770
|
+
<td>
|
|
771
|
+
<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
772
|
+
</td>
|
|
773
|
+
|
|
774
|
+
<td>
|
|
775
|
+
No
|
|
776
|
+
</td>
|
|
777
|
+
|
|
778
|
+
|
|
779
|
+
</tr>
|
|
780
|
+
<tr>
|
|
781
|
+
<td>packageName</td>
|
|
782
|
+
<td>
|
|
783
|
+
<code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
784
|
+
</td>
|
|
785
|
+
|
|
786
|
+
<td>
|
|
787
|
+
No
|
|
788
|
+
</td>
|
|
789
|
+
|
|
790
|
+
|
|
791
|
+
</tr>
|
|
792
|
+
</tbody>
|
|
793
|
+
</table>
|
|
794
|
+
</div>
|
|
795
|
+
<div class="io-description">
|
|
796
|
+
<b>Returns : </b> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
|
|
797
|
+
|
|
798
|
+
</div>
|
|
799
|
+
<div class="io-description">
|
|
800
|
+
|
|
801
|
+
</div>
|
|
802
|
+
</td>
|
|
803
|
+
</tr>
|
|
804
|
+
</tbody>
|
|
805
|
+
</table>
|
|
725
806
|
</section>
|
|
726
807
|
<h3>src/lib/open-api-init.ts</h3>
|
|
727
808
|
<section data-compodoc="block-methods">
|
package/compodoc/properties.html
CHANGED
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
</ol>
|
|
128
128
|
<ul class="properties-list">
|
|
129
129
|
<li>
|
|
130
|
-
<b>Version</b> : 22.0.0-dev.
|
|
130
|
+
<b>Version</b> : 22.0.0-dev.2</li>
|
|
131
131
|
<li>
|
|
132
132
|
<b>Description</b> : This package provides tools for working with OpenAPI specifications in Angular applications. It includes services for configuring and loading OpenAPI definitions, validating requests and responses against schemas, and handling errors. It also offers utilities for building HTTP requests based on OpenAPI definitions.
|
|
133
133
|
</li>
|