An open API service indexing awesome lists of open source software.

https://github.com/thake/openapi_bundling

Just a demonstration of how OpenAPI bundling works.
https://github.com/thake/openapi_bundling

Last synced: 4 months ago
JSON representation

Just a demonstration of how OpenAPI bundling works.

Awesome Lists containing this project

README

          

# Showcasing ref resolving in Redocly CLI
## Preparation
Make sure you have the [redocly cli](https://redocly.com/docs/cli/installation/) installed.
## Run demonstration
[openapi.yaml](openapi.yaml) contains a OpenAPI spec that references a schema in [schemas.yaml](schemas.yaml).
One can bundle the spec and the schema into a single file by executing:
```bash
redocly bundle openapi.yaml -o bundled.yaml
```
The [bundled.yaml](bundled.yaml) will contain the referenced schema in the components section of the OpenAPI spec so that
tools can still use the original schema name.