Skip to content

Commit 9f57684

Browse files
[PHP] Update php.md - marked Multiserver as true (#18545)
* Update php.md - marked Multiserver as true Mulitiserver support was fully implemented 2 years ago, on PR #12982 * update php feature * update --------- Co-authored-by: Thomas Hansen <thomasphansen@users.noreply.github.com>
1 parent 230e8ce commit 9f57684

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

bin/configs/java-jersey2-special-characters.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,4 @@ additionalProperties:
1010
dateLibrary: java8
1111
useOneOfDiscriminatorLookup: true
1212
disallowAdditionalPropertiesIfNotPresent: false
13-
systemProperties:
14-
skipValidateSpec: "false"
15-
13+
validateSpec: false

docs/generators/php.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
219219
|ExternalDocumentation|✓|OAS2,OAS3
220220
|Examples|✓|OAS2,OAS3
221221
|XMLStructureDefinitions|✗|OAS2,OAS3
222-
|MultiServer||OAS3
222+
|MultiServer||OAS3
223223
|ParameterizedServer|✗|OAS3
224224
|ParameterStyling|✗|OAS3
225225
|Callbacks|✗|OAS3

modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/PhpClientCodegen.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ public PhpClientCodegen() {
4444
modifyFeatureSet(features -> features
4545
.includeDocumentationFeatures(DocumentationFeature.Readme)
4646
.wireFormatFeatures(EnumSet.of(WireFormatFeature.JSON, WireFormatFeature.XML))
47+
.includeGlobalFeatures(GlobalFeature.MultiServer)
4748
.securityFeatures(EnumSet.of(
4849
SecurityFeature.BasicAuth,
4950
SecurityFeature.BearerToken,

0 commit comments

Comments
 (0)