Package Exports
- @rxap/open-api
- @rxap/open-api/data-source
- @rxap/open-api/data-source/table
- @rxap/open-api/http-resource
- @rxap/open-api/package.json
- @rxap/open-api/remote-method
- @rxap/open-api/testing
- @rxap/open-api/theme
Readme
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.
Installation
Add the package to your workspace:
yarn add @rxap/open-api
Install peer dependencies:
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
Execute the init generator:
yarn nx g @rxap/open-api:init
Generators
init
Initialize the package in the workspace
nx g @rxap/open-api:init