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

Have errors for swagger.json when opening with https://editor.swagger.io #8830

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

Have errors for swagger.json when opening with https://editor.swagger.io #8830

JessieTeng89 opened this issue May 24, 2022 · 2 comments · Fixed by #8886
Assignees
Labels
size/XS 0.5-1 days type/feature Feature request

Comments

@JessieTeng89
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment