-
Notifications
You must be signed in to change notification settings - Fork 16.3k
Rename operation IDs for task instance endpoints to include map index… #49608
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
Rename operation IDs for task instance endpoints to include map index… #49608
Conversation
… for openapi spec validator
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.
Thanks for the PR. Looks good to me ( maybe rebase later once the CI is fixed. )
Follow up:
I think we can add pre-commit for preventing duplicate operationId.
Maybe not a new one, adding validate_spec in generate-openapi-spec pre-commit will be enough I think.
|
Can you check that It should render in the "Details" tab when you have a task instance selected. |
bugraoz93
left a comment
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.
Looks good! As mentioned, revase, fix CI, and manual tests would be awesome. Thanks for the pr!
@bbovenzi this is what I got |
|
pierrejeambrun
left a comment
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.
Looks good. Tested locally and working.
I don't think we need unit test for that. I think what Bugra was referring to manual testing. (verifying in the UI that everything looks correct for marking a mapped task and normal task as success or failure, as well as updating the task notes).
Yeah, I wasn't on the computer, checked it now :) Yes, as Pierre mentioned, I meant the manual test |
|
Added validation of openapi spec logic in the CC @jason810496 |
pierrejeambrun
left a comment
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.
Looks good thanks.
apache#49608) * Rename operation IDs for task instance endpoints to include map index for openapi spec validator * refactor: Update TaskInstanceService methods and types to use map index for dependencies * Add OpenAPI validation to FastAPI spec generation script * refactor: streamline OpenAPI validation process by removing redundant exit checks
#49608) * Rename operation IDs for task instance endpoints to include map index for openapi spec validator * refactor: Update TaskInstanceService methods and types to use map index for dependencies * Add OpenAPI validation to FastAPI spec generation script * refactor: streamline OpenAPI validation process by removing redundant exit checks (cherry picked from commit 1cd8614)
#49608) * Rename operation IDs for task instance endpoints to include map index for openapi spec validator * refactor: Update TaskInstanceService methods and types to use map index for dependencies * Add OpenAPI validation to FastAPI spec generation script * refactor: streamline OpenAPI validation process by removing redundant exit checks (cherry picked from commit 1cd8614)

closes: #49607