-
-
Notifications
You must be signed in to change notification settings - Fork 486
openapi3: Serialize Extensions when using $ref #1005
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
base: master
Are you sure you want to change the base?
Conversation
|
I read through more of the package, and in the process of reworking this to be consistent and work more correctly. |
|
@fenollp Would you be open to taking a look at this PR? |
|
Hi @irees Sorry for the delay. |
|
@fenollp Thank you for your response. I've rebased. Let me know if anything else is needed. I am currently using my fork as part of the doc tools for my project, so it is actively used and tested. |
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-trippingx-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.