Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(#2462): MapRequestPayload #2467

Draft
wants to merge 5 commits into
base: 5.x
Choose a base branch
from
Draft

fix(#2462): MapRequestPayload #2467

wants to merge 5 commits into from

Conversation

DjordyKoert
Copy link
Collaborator

@DjordyKoert DjordyKoert commented Mar 28, 2025

Description

Please include a summary of the changes and the related issue.

Fixes #2462

What type of PR is this? (check all applicable)

  • Bug Fix
  • Feature
  • Refactor
  • Deprecation
  • Breaking Change
  • Documentation Update
  • CI

Checklist

  • I have made corresponding changes to the documentation (docs/)
  • I have made corresponding changes to the changelog (CHANGELOG.md)

"$ref": "#/components/schemas/EntityWithNullableSchemaSet"
"$ref": "#/components/schemas/Article81"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's no longer possible to overwrite the generated schema when using the JsonContent/XmlContent class from swagger-php

Comment on lines +162 to +172
"propertyInDefaultGroup": {
"type": "integer",
"maximum": 100,
"minimum": 1
},
"propertyArray": {
"type": "array",
"items": {
"type": "string"
}
},
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Validation groups aren't being taken into account

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.

[Bug]: MapRequestPayload doesn't handle type with scalar values
1 participant