Skip to content

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

@ericbroda

Description

@ericbroda

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions