Is there an oneOf, anyOf, etc support (https://swagger.io/docs/specification/data-models/oneof-anyof-allof-not/) in ApiResponses annotation? For example, i want to return one of two schemas with the same code: ``` @ApiResponses(Array ( new ApiResponse(code = 200, message = "O", response = classOf[MyClass]), new ApiResponse(code = 200, message = "", response = classOf[MySecondClass]) )) ``` This code makes swager.yml with only last response model.
Is there an oneOf, anyOf, etc support (https://swagger.io/docs/specification/data-models/oneof-anyof-allof-not/) in ApiResponses annotation? For example, i want to return one of two schemas with the same code:
This code makes swager.yml with only last response model.