@rxap/open-api
Version:
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 utili
36 lines (29 loc) • 1.56 kB
Markdown
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.
[](https://www.npmjs.com/package/@rxap/open-api)
[](https://commitizen.github.io/cz-cli/)
[](https://github.com/prettier/prettier)



- [Installation](../wiki/#installation)
- [Generators](../wiki/#generators)
- [init](../wiki/#init)
# Installation
**Add the package to your workspace:**
```bash
yarn add @rxap/open-api
```
**Install peer dependencies:**
```bash
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:**
```bash
yarn nx g @rxap/open-api:init
```
# Generators
## init
> Initialize the package in the workspace
```bash
nx g @rxap/open-api:init
```