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 version 3 #21

Open
edahlseng opened this issue Apr 5, 2017 · 11 comments
Open

Support for version 3 #21

edahlseng opened this issue Apr 5, 2017 · 11 comments
Assignees

Comments

@edahlseng
Copy link

Thoughts on providing support for version 3 of the OpenAPI specification?
https://blog.readme.io/an-example-filled-guide-to-swagger-3-2/

@twskj
Copy link
Owner

twskj commented Apr 5, 2017

Thanks for the info. I'll look into it.

It looks like the new spec is trying to describe the same thing in a different format. I think all we need just a new parser for v3.

@twskj twskj self-assigned this Apr 5, 2017
@edahlseng
Copy link
Author

More details on the spec can be found here: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0-rc0/versions/3.0.md

@twskj
Copy link
Owner

twskj commented Jul 27, 2017

@jitbasemartin
Copy link

Hello
Have you time schedule to do that ? Or news ?
Thanks

@twskj
Copy link
Owner

twskj commented Apr 18, 2018

been busy lately but should be able to work on this project next month (hopefully)
PR always welcome too :-)

@GMishx
Copy link

GMishx commented Feb 26, 2019

Hey I am willing to work on this. But sadly I am "brand new" to node. So, it will be really helpful if you can give me some pointers.

@twskj
Copy link
Owner

twskj commented Feb 26, 2019

Hey Gmishx,
Thanks I definitely could use your help. I'm really short on time these days.
Node wise don't worry about it. Keep things simple and clear that's what I focus on.

So you want to look at the parse function make sure you check v2 / v3 appropriately. Then simply make parseV3 function.

In parseV3, you want to start by getting a structure and start filling in information from json input.
At the end, you just have to call livedoc to generate an output html

I feel like many things are similar with V2 but haven't had time to look at V3 Schema closely

@GMishx
Copy link

GMishx commented Feb 26, 2019

Thanks for the pointers @twskj. I am trying to get the hang of Node.

I kind of got the idea how you wrote the parser and have confidence that can write it for V3 as well.

@theletterf
Copy link

Has this been solved?

@twskj
Copy link
Owner

twskj commented May 13, 2019

Still in WIP

@abarstow
Copy link

abarstow commented Feb 3, 2022

👍 re supporting "openapi":"3.0.1"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants