-
-
Notifications
You must be signed in to change notification settings - Fork 937
Closed
Labels
Description
API Platform version(s) affected: 2.5.7 (maybe lower)
Description
In the demo, the route POST /reviews doesn't have the book param in the request body example value. If setting nullable=false, the field appears in the request body, but when setting nullable=true, the field does not appear in the request body.
This bug only occurs on "Example value", not in the schema tab, and only for anyOf property type.
How to reproduce
https://demo.api-platform.com/
Possible Solution
swagger-api/swagger-ui#5530
swagger-api/swagger-ui#6540
Additional Context