Skip to content

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