Skip to content

thake/openapi_bundling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Showcasing ref resolving in Redocly CLI

Preparation

Make sure you have the redocly cli installed.

Run demonstration

openapi.yaml contains a OpenAPI spec that references a schema in schemas.yaml. One can bundle the spec and the schema into a single file by executing:

redocly bundle openapi.yaml -o bundled.yaml

The 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.

About

Just a demonstration of how OpenAPI bundling works.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors