Webapi-Swagger : Consider additionalProperties while generating Definitions data types #33
Labels
enhancement
Webapi-Swagger
All issues related to Webapi-swagger (generation of Webapi contracts from Swagger Docs)
Currently we use the data present in
schemaProperties
in order to get the details of the record fields and their types for data types inDefinitions
.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.The text was updated successfully, but these errors were encountered: