-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
[php] #126: Not-required properties now shows as nullable #129
[php] #126: Not-required properties now shows as nullable #129
Conversation
c831558
to
f906470
Compare
I know I'm not tagged in the technical committee on this, but I wasn't sure what generator(s) this affected based on the title. I just wanted to comment that OAS 3.0 has a setting on Schema objects called OAS 2.0/3.0 doc on
OAS 3.x doc on
This isn't a blocker for this PR by any means, I just wanted to call it out as a consideration for templates and generators as the 3.0 spec gains traction. |
**capital_snake** | **string** | | [optional] | ||
**sca_eth_flow_points** | **string** | | [optional] | ||
**att_name** | **string** | Name of the pet | [optional] | ||
**small_camel** | **object** | | [optional] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fMads looks like something wrong. Not related to change in this PR. All type becomes "object".
Can you rebase this PR on the latest master (or merge the latest master into this PR), build the JAR (mvn clean package) and try to update the PHP samples again?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes - done :)
b6f5302
to
11e7dfc
Compare
@wing328 Thanks :) |
PR checklist
./bin/
to update Petstore sample so that CIs can verify the change. (For instance, only need to run./bin/{LANG}-petstore.sh
and./bin/security/{LANG}-petstore.sh
if updating the {LANG} (e.g. php, ruby, python, etc) code generator or {LANG} client's mustache templates). Windows batch files can be found in.\bin\windows\
.master
.Description of the PR
Fixed issue #126
Technical Committee