webapi
webapi copied to clipboard
Webapi-Swagger : Consider additionalProperties while generating Definitions data types
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.