You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 23, 2024. It is now read-only.
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:
The text was updated successfully, but these errors were encountered: