Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add support for OpenAPI v3. #59

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

Merged
soyuka merged 4 commits into api-platform:master from bpolaszek:openapi3
Sep 17, 2019
Merged

Add support for OpenAPI v3. #59

soyuka merged 4 commits into api-platform:master from bpolaszek:openapi3
Sep 17, 2019

Conversation

@bpolaszek
Copy link
Contributor

@bpolaszek bpolaszek commented Sep 3, 2019

This PR adds a parser for OpenAPI v3.

@dunglas Can you please review?

Copy link
Contributor Author

Fix small typo in README.

parseSwaggerDocumentation('https://demo.api-platform.com/docs.json').then(({api}) => console.log(api));
```

**OpenApi v3**
Copy link
Member

@dunglas dunglas Sep 3, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can promote it over Swagger

Copy link
Contributor Author

@bpolaszek bpolaszek Sep 4, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you mean we should remove everything related to Swagger in the Readme?

README.md Outdated
[![MIT Licence](https://badges.frapsoft.com/os/mit/mit.svg?v=103)](https://opensource.org/licenses/mit-license.php)

`api-doc-parser` is a JavaScript (ES6) library to parse [Hydra](http://hydra-cg.com) or Swagger API documentations and transform them
`api-doc-parser` is a JavaScript (ES6) library to parse [Hydra](http://hydra-cg.com), Swagger and OpenAPI documentations and transform them
Copy link
Member

@dunglas dunglas Sep 3, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a link to OpenAPI?

Copy link
Contributor Author

@bpolaszek bpolaszek Sep 4, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure.

package.json Outdated
{
"name": "@api-platform/api-doc-parser",
"version": "0.7.2",
"version": "0.7.3",
Copy link
Member

@dunglas dunglas Sep 3, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you revert this? It's the CI that takes care of this.

Copy link
Contributor Author

@bpolaszek bpolaszek Sep 4, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great 👍

@soyuka soyuka merged commit d13b41e into api-platform:master Sep 17, 2019
Copy link
Member

soyuka commented Sep 17, 2019

thanks @bpolaszek !

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

Reviewers

@dunglas dunglas dunglas requested changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /