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

ApiDOM Bundling #692

Open
char0n opened this issue Sep 29, 2021 · 1 comment
Open

ApiDOM Bundling #692

char0n opened this issue Sep 29, 2021 · 1 comment
Assignees
Labels
ApiDOM enhancement New feature or request

Comments

@char0n
Copy link
Member

char0n commented Sep 29, 2021

This ticket is about bundling support in ApiDOM. There will be specialized strategies for every specification and probably it's version (if's it's breaking). This issue needs additional research and technical design.

Dereferencing vs Bundling

We only do dereference. The difference between bundling and dereferencing is that dereference resolves the documents and create a compound OAS document represented in memory possibly containing cycles. Cannot be serialized.

Bundling is a process where we resolve all the external documents and create a one compound document with only internal refs without any cycles. Can be serialized.

Resources:

@char0n char0n added enhancement New feature or request ApiDOM labels Sep 29, 2021
@char0n char0n self-assigned this Sep 29, 2021
@char0n char0n removed their assignment Dec 13, 2021
@char0n
Copy link
Member Author

char0n commented Nov 28, 2023

We need to restart this effort asap because of the OpenAPI 3.1.0 -> OpenAPI 3.0.3 downgrader. The first thing we need to do is to prepare the code infrastructure of apidom-reference for budle feature. This work doesn't include any particular bundling strategy implementation.

Next step would be to implement OpenAPI 3.1.0 bundling strategy.

TODO:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ApiDOM enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant