-
Notifications
You must be signed in to change notification settings - Fork 372
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
OpenAPI: OT #4226
OpenAPI: OT #4226
Conversation
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 OK to me, but I did not check all the fields in the OT OpenAPI models. Daniel knows that better.
@@ -158,7 +161,8 @@ def do_post(self, **kwargs): | |||
if gate.state not in (Vote.APPROVED, Vote.NA): | |||
self.abort(400, 'Unapproved gate found for trial stage.') | |||
|
|||
body = self.get_json_param_dict() | |||
#TODO(markxiong0122): remove to_dict() when PR#4213 is merged |
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.
#4213 has has merged already.
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 okay to me as well, but we should test these changes locally to be sure everything looks as expected (I can help with that during deployment).
I didn't find all OT pages so this indeed needs further testing. Thank you for helping with this! Should I merge this PR or wait until we test it locally? |
implemented OAS on origin_trials_api