[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>
This commit is contained in:
William Cheng 2024-05-01 19:29:48 +08:00 committed by GitHub
parent 230e8ce887
commit 9f57684dad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 4 deletions

View File

@ -10,6 +10,4 @@ additionalProperties:
dateLibrary: java8 dateLibrary: java8
useOneOfDiscriminatorLookup: true useOneOfDiscriminatorLookup: true
disallowAdditionalPropertiesIfNotPresent: false disallowAdditionalPropertiesIfNotPresent: false
systemProperties: validateSpec: false
skipValidateSpec: "false"

View File

@ -219,7 +219,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|ExternalDocumentation|✓|OAS2,OAS3 |ExternalDocumentation|✓|OAS2,OAS3
|Examples|✓|OAS2,OAS3 |Examples|✓|OAS2,OAS3
|XMLStructureDefinitions|✗|OAS2,OAS3 |XMLStructureDefinitions|✗|OAS2,OAS3
|MultiServer||OAS3 |MultiServer||OAS3
|ParameterizedServer|✗|OAS3 |ParameterizedServer|✗|OAS3
|ParameterStyling|✗|OAS3 |ParameterStyling|✗|OAS3
|Callbacks|✗|OAS3 |Callbacks|✗|OAS3

View File

@ -44,6 +44,7 @@ public class PhpClientCodegen extends AbstractPhpCodegen {
modifyFeatureSet(features -> features modifyFeatureSet(features -> features
.includeDocumentationFeatures(DocumentationFeature.Readme) .includeDocumentationFeatures(DocumentationFeature.Readme)
.wireFormatFeatures(EnumSet.of(WireFormatFeature.JSON, WireFormatFeature.XML)) .wireFormatFeatures(EnumSet.of(WireFormatFeature.JSON, WireFormatFeature.XML))
.includeGlobalFeatures(GlobalFeature.MultiServer)
.securityFeatures(EnumSet.of( .securityFeatures(EnumSet.of(
SecurityFeature.BasicAuth, SecurityFeature.BasicAuth,
SecurityFeature.BearerToken, SecurityFeature.BearerToken,