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

Errors in swagger.json when opening with https://editor.swagger.io #8830

Closed
JessieTeng89 opened this issue May 24, 2022 · 3 comments · Fixed by #8886
Closed

Errors in swagger.json when opening with https://editor.swagger.io #8830

JessieTeng89 opened this issue May 24, 2022 · 3 comments · Fixed by #8886
Assignees
Labels
area/api Argo Server API good first issue Good for newcomers size/XS 0.5-1 days solution/duplicate This issue or PR is a duplicate of an existing one type/bug

Comments

@JessieTeng89
Copy link
Contributor

JessieTeng89 commented May 24, 2022

I found there are some errors when opening swagger.json with https://editor.swagger.io like below, I am new to GitHub, can you please help to assign this bug to me? I want to work on this
image

Structural error at paths./artifact-files/{namespace}/{idDiscriminator}/{id}/{nodeId}/{artifactDiscriminator}/{artifactName}.get.parameters
should NOT have duplicate items (items ## 4 and 6 are identical)
i: 6
j: 4
Jump to line 5861
Semantic error at paths./artifact-files/{namespace}/{idDiscriminator}/{id}/{nodeId}/{artifactDiscriminator}/{artifactName}.get.parameters.6
Sibling parameters must have unique name + in values
Jump to line 5890
Semantic error at paths./input-artifacts-by-uid/{uid}/{nodeId}/{artifactName}.get.parameters.0.name
Path parameter "namespace" must have the corresponding {namespace} segment in the "/input-artifacts-by-uid/{uid}/{nodeId}/{artifactName}" path
Jump to line 5971

What change needs making?
Update swagger.json file to fix the issue

Use Cases

When would you use this?
See API details


Message from the maintainers:

Love this enhancement proposal? Give it a 👍. We prioritise the proposals with the most 👍.

@JessieTeng89 JessieTeng89 added the type/feature Feature request label May 24, 2022
@JessieTeng89
Copy link
Contributor Author

Hi, I am new to Github.
Could you please assign it to me? I will try to fix it, this will be my first pr
Thanks

@dpadhiar
Copy link
Member

Hi @JessieTeng89 I have assigned this task for you. You can submit a PR and reference this issue so that when it is merged, this is closed with it.

@dpadhiar dpadhiar added the size/XS 0.5-1 days label May 24, 2022
alexec pushed a commit that referenced this issue Jun 2, 2022
This was referenced Jun 20, 2022
@sarabala1979 sarabala1979 mentioned this issue Jul 30, 2022
51 tasks
@agilgur5 agilgur5 changed the title Have errors for swagger.json when opening with https://editor.swagger.io Errors in swagger.json when opening with https://editor.swagger.io Sep 20, 2024
@agilgur5 agilgur5 added the area/api Argo Server API label Sep 20, 2024
@argoproj argoproj locked as resolved and limited conversation to collaborators Sep 20, 2024
@agilgur5 agilgur5 added type/bug good first issue Good for newcomers and removed type/feature Feature request labels Sep 20, 2024
@agilgur5
Copy link
Contributor

This apparently duplicated #8528

@agilgur5 agilgur5 added the solution/duplicate This issue or PR is a duplicate of an existing one label Sep 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/api Argo Server API good first issue Good for newcomers size/XS 0.5-1 days solution/duplicate This issue or PR is a duplicate of an existing one type/bug
Projects
None yet
3 participants