Resolved [org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Could not resolve subtype of [simple type, class [...].PetsBody]: missing type id property 'type'; nested exception is com.fasterxml.jackson.databind.exc.InvalidTypeIdException: Could not resolve subtype of [simple type, class [...].PetsBody]: missing type id property 'type'<EOL> at [Source: (org.springframework.util.StreamUtils$NonClosingInputStream); line: 4, column: 1]]
Describe the bug
To Reproduce:
Generate the oneOf example given in the openapi docs here: https://swagger.io/docs/specification/data-models/oneof-anyof-allof-not/
Expected Behavior:
The example inputs should work.
Actual Behavior:
An error is thrown in the service:
Environment
Plugin version: 2.19.2 Swagger Codegen version: 2.19.2 Gradle version: Java version: 17 OS: