webapi icon indicating copy to clipboard operation
webapi copied to clipboard

Webapi-Swagger : Consider additionalProperties while generating Definitions data types

Open kahlil29 opened this issue 5 years ago • 0 comments

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 avatar Apr 02 '19 12:04 kahlil29