Skip to content

Fix manually specified response schema names for same request, in OpenAPI 3

Choose a tag to compare

@ozscheyge ozscheyge released this 28 May 08:48
· 62 commits to master since this release
373c924

Thanks to @WonSik36 reporting #173 and fixing it with #174 !

OpenAPI 3 generator

Before, when manually specifying the schemata for responses with different content types, for the same request (same path, method and response status code), only the first schema name would have been referenced for all responses. This is now fixed to use the correct schema reference/name for the respective response.

Auto-generated schemata and schema names were unaffected.