Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to "unbundle" an OpenAPI specification #27

Open
ericbroda opened this issue Oct 27, 2021 · 0 comments
Open

Is there a way to "unbundle" an OpenAPI specification #27

ericbroda opened this issue Oct 27, 2021 · 0 comments

Comments

@ericbroda
Copy link

While the openapi-bundler can compose an OpenAPI spec from multiple discrete parts, is there a way decompose a valid OpenAPI specification into its constituent parts?

Minimally an OpenAPI specification can be decomposed into the following parts:

  • schemas: all schemas under component/schemas
  • core spec: all parts of the spec except schemas, decomposed and saved to a string/file/stream; "$ref" would be used to reference decomposed schemas

These decomposed parts would also be the same parts that the openapi-bundler would be able to compose back into a full OpenAPI specification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant