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

Added support for OAS Data Types #15

Merged
merged 3 commits into from
May 11, 2019
Merged

Conversation

gustavodemorais
Copy link
Contributor

Fixes #14

Checklist

  • My branch is up-to-date with upstream/develop branch.
  • Everything works and tested for Python 3.5.2 and above.

Description

Previously the Parser was unable to parse the basic OAS Data Types and what would happen that it would parse to a invalid parameter, making it not possible to dump the hydra_doc.

After studying the Parser and understanding it and where the problem was different solutions could be proposed: ignore these endpoints, set empty parameters or, as the one I'm proposing in this pull request, is to assign the respective schema to the OAS Data Types.

Change logs

Added support for OAS Data Types
Now the sample is being successfully parsed

Fixed

Creation of invalid input parameters

Mec-iS and others added 3 commits March 12, 2019 15:57
Sample code was breaking because it wasn't being to able to parse OAS Data Types, this commit propose to assign the proper schema for each type
The current output made by the current code
@gustavodemorais gustavodemorais changed the title Develop Added support for OAS Data Types Mar 14, 2019
@Mec-iS Mec-iS merged commit 7d86061 into HTTP-APIs:develop May 11, 2019
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.

2 participants