Open
Conversation
…I can used files and text data in the same request part
* 'master' of github.com:thephpleague/openapi-psr7-validator: (47 commits) Drop test for valid epsilon Add use statement for round Use epsilon to compare floating points Fix type errors Unignore phpstan errors, fixed now. Add polyfill 8.0 for `str_starts_with` Fix tests for boolean validation Fix string-to-boolean casting Handle path parameters for arrays correctly Add getVerboseMessage to AddressValidationFailed exception Fix test notice Fix content type parameter comparison (thephpleague#134) Add support for comma-separated list of encoding content types Fix cs errors. Use PHP 7.2 as phpstan reference language version to avoid false positive errors PathFinder: Adding filtering of placeholder routes scored by matching parts count Also remove check from multi-part server request validation Use devizzent/cebe-php-openapi to be compatible with OpenApi 3.1 Allow specifying encoding for optional parts of multipart data without validation errors Temporary silence phpstan for checking type of magic props Fix codestyle Access operation security element directly, avoiding getSerializableData() ... # Conflicts: # src/PSR7/Validators/BodyValidator/MultipartValidator.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Before, in multipart validation, the validator lost the text part with the request data. So all validations failed if I have a file and request data, for example as json.