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

(fix, openapi): Resolve 'refs' specified in overrides #4049

Merged
merged 1 commit into from
Jul 12, 2024

Conversation

amckinney
Copy link
Member

This fixes an issue where $ref elements were not resolved in OpenAPI override files. We now resolve any override references by passing the merged document back through redocly.

@amckinney amckinney requested a review from dsinghvi as a code owner July 12, 2024 16:28
? await bundle({
...options,
doc: {
source: new Source(absolutePathToOpenAPI, "<openapi>"),
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will release this as an RC and come back to this - this fixes the issue at hand, but it's not immediately clear how Source is used and/or if it's necessary to serialize the parsed document as the body (instead of a <openapi> placeholder).

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

Successfully merging this pull request may close these issues.

2 participants