-
Notifications
You must be signed in to change notification settings - Fork 37
OpenAPI 3 #121
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
OpenAPI 3 #121
Conversation
324bf26
to
a85ca5e
Compare
This one is ready as well. I have one doubt, though. OpenAPI 3 has Would it make sense to try to extract common requests, params etc in Apart from this, Event |
For what it's worth, I have tried on our (private, sorry) project, and it works really well! We used the Note, I had to manually copy/paste the generated schema in https://editor.swagger.io/ as the Thank you for your work on these PRs, this is awesome! |
I think this is a good idea. Even better: Add another parameter to extract all requests, params, etc... to top-level component definitions. |
This has a new home now as well: https://github.com/biocad/servant-openapi3 🎉 |
Hi, so what's the status of this PR? Will this development land in If new package:
If it lands in this package:
Thank you! |
Hi! Thanks for your interest! I'm definitely going to release As far as I understand, @fizruk proposed to go the "new package" way. Once I make Hackage releases, I will make PRs mentioning the new packages in the old ones' READMEs. Personally, I suppose that the two packages will coexist for a while, since switching from Swagger to OpenAPI3 is not a trivial process for users, as this will require some work with frontends, infrastructure, etc. Re |
I haven't been keeping up with what's going on here, but it sounds exciting. Yes, I would definitely like to host all relevant packages under haskell-servant! |
@maksbotan https://github.com/biocad/servant-openapi3 looks promising. Nice! Are there any news on
I'd like to try it out. |
👎 |
Hi, Thanks in advance! |
Hi @akhesaCaro! This PR (and, in fact, the entire swagger stuff) is superseded by https://github.com/biocad/servant-openapi3 (https://hackage.haskell.org/servant-openapi3). I believe I've mentioned that in haskell-servant/servant#1475. |
Closing this outdated PR. |
Based on GetShopTV/swagger2#219
Tests pass, did not check on a real code yet.