Skip to content
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

Merged
merged 21 commits into from
Aug 29, 2024
Merged

Conversation

markxiong0122
Copy link
Collaborator

implemented OAS on origin_trials_api

@markxiong0122 markxiong0122 requested review from DanielRyanSmith and jrobbins and removed request for DanielRyanSmith August 20, 2024 05:57
Copy link
Collaborator

@jrobbins jrobbins left a 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
Copy link
Collaborator

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.

Copy link
Collaborator

@DanielRyanSmith DanielRyanSmith left a 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).

@markxiong0122
Copy link
Collaborator Author

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?

@markxiong0122 markxiong0122 merged commit 6e22d7d into GoogleChrome:main Aug 29, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants