Open dbwodlf3 opened 1 year ago
OpenAPI 3_1 is reusing OpenAPI3 type definition, but some cases it doesn't work well.
requestBody?: ((OpenAPIV3.ReferenceObject | OpenAPIV3.RequestBodyObject) &
(OpenAPIV3_1.ReferenceObject | OpenAPIV3_1.RequestBodyObject))
if requestBody is OpenAPIV3_1, it doesn't work. it works only when OpenAPIV3.RequestBodyObject
https://github.com/kogosoftwarellc/open-api/tree/main/packages/openapi-types#readme
package version is "openapi-types": "^12.1.3",