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.
Add the package to your workspace:
Example :yarn add @rxap/open-api
Install peer dependencies:
Example :yarn add @angular/common@^19.1.3 @angular/core@^19.1.3 @rxap/config@^19.0.2-dev.3 @rxap/data-source@^19.0.2-dev.3 @rxap/environment@^19.0.2-dev.1 @rxap/mixin@^16.0.13-dev.2 @rxap/remote-method@^19.0.2-dev.2 @rxap/rxjs@^1.1.13-dev.2 @rxap/utilities@^16.4.3-dev.2 ajv@^8.12.0 openapi-types@^10.0.0 rxjs@^7.8.1
Execute the init generator:
Example :yarn nx g @rxap/open-api:init
Example :Initialize the package in the workspace
nx g @rxap/open-api:init