Skip to content
This repository has been archived by the owner on Aug 28, 2023. It is now read-only.

Support for OAI v3 #40

Open
yetithefoot opened this issue Jan 8, 2018 · 9 comments
Open

Support for OAI v3 #40

yetithefoot opened this issue Jan 8, 2018 · 9 comments
Assignees

Comments

@yetithefoot
Copy link

Please ad support for OpenAPI v3.

@amazing-gao amazing-gao self-assigned this Jan 9, 2018
@amazing-gao
Copy link
Collaborator

Thanks for issue.
Which features in V3 you need to use?

@yetithefoot
Copy link
Author

yetithefoot commented Jan 9, 2018

I just started to writing new simple api file version 3 and tried to user run router, but got syntax error. Not sure what exact feature lead to that.

{
  "name": "SyntaxError",
  "message": "./api.yml is not a valid Swagger API definition",
  "stack": "SyntaxError: ./api.yml is not a valid Swagger API definition
    at ~/api/node_modules/swagger-parser/lib/index.js:75:19
    at <anonymous>"
}

@amazing-gao
Copy link
Collaborator

V3 is not yet supported
I use swagger-parser as the specification's parser and validator, and it's still under beta-testing.
Later i will begin to v3's support work.

@kevingilbert100
Copy link

https://www.npmjs.com/package/@overspeed/koa2-oas3

This is a work in progress - but if anyone needs an example of how to do this in Node.js.

@SkeLLLa
Copy link

SkeLLLa commented Jul 13, 2018

I'm also looking forward for 3.0 support. Mainly because they added oneOf support.

@ronkorving
Copy link

@bitebit swagger-parser is no longer in beta, it seems. Their master branch is very uptodate. Any plans on upgrading?

@amazing-gao
Copy link
Collaborator

@bitebit swagger-parser is no longer in beta, it seems. Their master branch is very uptodate. Any plans on upgrading?

I will try to upgrade recently.

@jsdevel
Copy link

jsdevel commented Oct 18, 2018

Check out https://github.com/kogosoftwarellc/open-api/tree/master/packages/koa-openapi. V3 is supported, and it's also possible to add oneOf to V2 as an extension.

@amazing-gao
Copy link
Collaborator

Check out https://github.com/kogosoftwarellc/open-api/tree/master/packages/koa-openapi. V3 is supported, and it's also possible to add oneOf to V2 as an extension.

It looks good, maybe a good choice.

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

No branches or pull requests

6 participants