api-schema-builder
Build the Api Schemas.
Usage
In the console
npx @janiscommerce/api-schema-builder
- It will build
/root/schemas/public.json
with the Api schema. - If the file exist it will be override.
Configuration
The Api Schemas must be in Yaml files in /root/schemas/src/
, according to OpenAPI 3.0.0 specification.