-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[CI:DOCS] swagger: add operationIds that match with docker #9123
Conversation
Signed-off-by: Tom Deseyn <[email protected]>
0eedab6
to
f8c1b1a
Compare
I think you need to add Otherwise LGTM |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mheon, tmds The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@jwhonce I don't see how there is a duplicate. It looks like distinct swagger sections?
It does look like there is a duplicate for
Is the fix to have separate swagger sections for these operations, and only include the |
@jwhonce can you take a look at my previous comment? |
@tmds I saw the conflict between your PR and https://github.com/containers/podman/blob/master/pkg/api/server/register_version.go#L23 regarding the operationId SystemVersion . Since we have endpoints for the compatibility and libpod in one API we need to namespace them. To fix this across the API, we would need to remove Compat from the Compat on the |
Signed-off-by: Tom Deseyn <[email protected]>
@jwhonce based on your comment, I've moved the |
Thinking out loud: you may want to generate separate swagger files, one for libpod, and one for compat. Both of them can use the same operationIds. |
@tmds I need to think on that suggestion. Immediate ideas:
|
Friendly ping |
A friendly reminder that this PR had no activity for 30 days. |
Libpod operation id's changed to better match compatibile id Builds on containers#9123 and corrects a duplicated ID. Signed-off-by: Jhon Honce <[email protected]>
Libpod operation id's changed to better match compatibile id Builds on containers#9123 and corrects a duplicated ID. Signed-off-by: Jhon Honce <[email protected]>
Libpod operation id's changed to better match compatibile id Builds on containers#9123 and corrects a duplicated ID. Signed-off-by: Jhon Honce <[email protected]>
@jwhonce @baude ptal.
I only added operationIds to to match with the docker ones.
You may want to add operationIds to the operations specific to podman too.