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

Support for Specification Extensions #11 for v3.2.2 #42

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

Conversation

PPKFS
Copy link

@PPKFS PPKFS commented Mar 16, 2022

This PR just updates the work of @blackheaven and @mageshb to:
a) remove the excess formatting changes
b) work with the most recent version of openapi3.

The tests all pass, but there could be some edge cases I've not covered where the versions have differed in the mean time.

@maksbotan
Copy link
Collaborator

Looks like tests fail because of aeson-2 🤔

Also, would it be possible to hide empty extensions from the generated schema?

@PPKFS
Copy link
Author

PPKFS commented Mar 16, 2022

oh dear...I didn't think to check aeson-2 D: Apologies.

Yes, I think hiding empty extensions makes a lot of sense. This was quite a quick and dirty job. I'll see what I can do after work.

@PPKFS
Copy link
Author

PPKFS commented Mar 16, 2022

Well, it hides the empty extensions now; I am unsure about aeson-2 because I have no clue about it but I can take a look at some point.

@alexbiehl
Copy link

@maksbotan @PPKFS I added support for aeson < 2 and >= 2 to this patch and opened #43.

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.

3 participants