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

Webapi-Swagger : Consider additionalProperties while generating Definitions data types #33

Open
kahlil29 opened this issue Apr 2, 2019 · 0 comments
Assignees
Labels
enhancement Webapi-Swagger All issues related to Webapi-swagger (generation of Webapi contracts from Swagger Docs)

Comments

@kahlil29
Copy link
Contributor

kahlil29 commented Apr 2, 2019

Currently we use the data present in schemaProperties in order to get the details of the record fields and their types for data types in Definitions.

This is done in the function generateSwaggerDefinitionData.

We need to enhance this function to also check and make use of additionalProperties if and when they are defined, or else we risk potentially losing out on some details that may have been specified about the data type.

@kahlil29 kahlil29 added enhancement Webapi-Swagger All issues related to Webapi-swagger (generation of Webapi contracts from Swagger Docs) labels Apr 2, 2019
@kahlil29 kahlil29 self-assigned this Apr 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Webapi-Swagger All issues related to Webapi-swagger (generation of Webapi contracts from Swagger Docs)
Projects
None yet
Development

No branches or pull requests

1 participant