swagger-typescript-api icon indicating copy to clipboard operation
swagger-typescript-api copied to clipboard

feat: add a parameter to disable type matching by content

Open RoCat opened this issue 4 weeks ago • 1 comments

For some reasons, types are matched by content. For exemple if we have an API that only get as body an array of integers, with no type name, this type will match other type declared as array of integer with a name. This could have sense sometimes, but in our case we dont want for exemple that an array of ids match Boundaries type, that is an array of coordinates.

For this reasons I added a parameter to disable the content matching feature.

RoCat avatar Nov 25 '25 09:11 RoCat