HTTP-APIs / hydra-openapi-parser

OpenAPI to Hydra parser
MIT License
9 stars 9 forks source link

Added support for OAS Data Types #15

Closed Guttz closed 5 years ago

Guttz commented 5 years ago

Fixes #14

Checklist

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