Skip to content

Conversation

sarim
Copy link
Contributor

@sarim sarim commented Dec 15, 2023

Fixes: 6048

Q A
Branch? current stable version branch for bug fixes
Tickets Closes #6048
License MIT
Doc PR N/A

Fixes: 6048
For int backed enum, api-platform generates "type":"int", which is invalid in jsonschema. It should be "integer"
@soyuka soyuka merged commit 2a43268 into api-platform:3.2 Dec 18, 2023
Romaixn pushed a commit to Romaixn/core that referenced this pull request Jan 5, 2024
* fix(jsonschema): fix invalid "int" type to "integer"

Fixes: 6048
For int backed enum, api-platform generates "type":"int", which is invalid in jsonschema. It should be "integer"

* test: enum schema as integer

---------

Co-authored-by: soyuka <soyuka@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants