-
Notifications
You must be signed in to change notification settings - Fork 176
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
Code generated using native OpenAPI specification #724
Conversation
Signed-off-by: saimedhi <saimedhi@amazon.com>
This is generated code. @dblock, please review. Kindly approve if everything looks correct, but please do not merge. I'll give it one last check to make sure we haven't missed any minor details. Thank you! |
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.
This looks good, and it adds the notifications plugin support. Should be in CHANGELOG at least.
In the follow-up PR, I'll update the generator to include any newly added namespaces in the changelog. |
Signed-off-by: saimedhi <saimedhi@amazon.com>
@@ -22,7 +22,7 @@ | |||
{% for p, info in api.params %} | |||
{% if info.description %} | |||
{% filter wordwrap(72, wrapstring="\n ") %} | |||
:arg {{ p }}{% if info.deprecated and info.deprecation_message is defined %} (Deprecated: {{ info['deprecation_message'][:-1] }}.){% endif %}: {{ info.description }} {% if info.options and "Valid values: " not in info.description %}Valid choices are {{ info.options|join(", ") }}.{% endif %} | |||
:arg {{ p }}{% if info.deprecated and info.deprecation_message is defined %} (Deprecated: {{ info['deprecation_message'][:-1] }}.){% endif %}: {{ info.description }} {% if info.options and "Valid values" not in info.description %}Valid choices are {{ info.options|join(", ") }}.{% endif %} | |||
{% if info.default is defined %}{% if info.default is not none %}{% if info.default is sameas(false) %}Default is false.{% else %}Default is {{ info.default }}.{% endif %}{% endif %}{% endif %} |
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.
Made small modification to generator
Signed-off-by: saimedhi <saimedhi@amazon.com>
@dblock, apologies for the inconvenience. I need your approval one last time before merging. Thank you. |
…#724) * Code generated using native OpenAPI specification Signed-off-by: saimedhi <saimedhi@amazon.com> * Code generated using native OpenAPI specification Signed-off-by: saimedhi <saimedhi@amazon.com> * Code generated using native OpenAPI specification Signed-off-by: saimedhi <saimedhi@amazon.com> --------- Signed-off-by: saimedhi <saimedhi@amazon.com>
…#724) * Code generated using native OpenAPI specification Signed-off-by: saimedhi <saimedhi@amazon.com> * Code generated using native OpenAPI specification Signed-off-by: saimedhi <saimedhi@amazon.com> * Code generated using native OpenAPI specification Signed-off-by: saimedhi <saimedhi@amazon.com> --------- Signed-off-by: saimedhi <saimedhi@amazon.com>
Description
Code generated using native OpenAPI specification
Issues Resolved
Related to #636
Related to #474
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.