Skip to content

Commit ef3ba7d

Browse files
fix: swagger-php 5.7.0 compatatiblity [Backport #2598 to 4.x] (#2603)
### This is an automated backport of #2598 to branch `4.x`. > [!CAUTION] > **Do not modify this pull request.** ## Description Fixes zircote/swagger-php#1837 ## What type of PR is this? (check all applicable) - [x] 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`) Co-authored-by: Djordy Koert <djordy.koert@gmail.com>
1 parent 82e24b4 commit ef3ba7d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/Processor/MapQueryStringProcessor.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ private function addQueryParameters(Analysis $analysis, OA\Operation $operation,
8585
// Remove incompatible properties
8686
$propertyVars = get_object_vars($property);
8787
unset($propertyVars['property']);
88+
unset($propertyVars['encoding']);
8889

8990
$schema = new OA\Schema($propertyVars);
9091

0 commit comments

Comments
 (0)