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

openapi3: Serialize Extensions when using $ref #1005

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

irees
Copy link

@irees irees commented Aug 24, 2024

I was pleased to see the recent merging of #901, and this is a minor follow-on to that PR.

901 added support for reading x- extensions when using $ref. This extends this by round-tripping x- extensions back out to JSON / YAML.

I followed 901 to see what changes to make, since much of the code is auto-generated. I will open this as a Draft PR; if maintainers are OK with the basic idea, I will finish adding tests for the round-trip behavior and ask for formal review.

@irees
Copy link
Author

irees commented Aug 27, 2024

I read through more of the package, and in the process of reworking this to be consistent and work more correctly.

@irees irees marked this pull request as ready for review August 27, 2024 11:23
@irees
Copy link
Author

irees commented Aug 30, 2024

@fenollp Would you be open to taking a look at this PR?

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

Successfully merging this pull request may close these issues.

1 participant