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

[UD] Dashboard swagger does not work properly with API which requires query params #23182

Closed
olexii4 opened this issue Oct 7, 2024 · 0 comments · Fixed by eclipse-che/che-dashboard#1214
Assignees
Labels
area/dashboard kind/bug Outline of a bug - must adhere to the bug report template. severity/P3 Lower priority than a P2. Optional work that might get done, or not. See also help wanted issues. team/A This team is responsible for the Che Operator and all its operands as well as chectl and Hosted Che

Comments

@olexii4
Copy link
Contributor

olexii4 commented Oct 7, 2024

Describe the bug

Dashboard swagger does not work properly with API which requires query params. We cannot use swagger for requests like {che-server}/dashboard/api/editors/devfile?che-editor=che-incubator/che-code/insiders.

Che version

7.92@latest

Steps to reproduce

  1. Login into Eclipse-Che.
  2. Open Dashboard Swagger page with the link {che-server}/dashboard/api/swagger.
  3. Choose Editor Definition and try to execute {che-server}/dashboard/api/editors/devfile with che-editor query param.
  4. It is not possible to add any parameters to the target request.

Expected behavior

  1. Login into Eclipse-Che.
  2. Open Dashboard Swagger page with the link {che-server}/dashboard/api/swagger.
  3. Choose Editor Definition and try to execute {che-server}/dashboard/api/editors/devfile with che-editor query param.
  4. It should be possible to add the required parameters to the target request.

Runtime

OpenShift

Screenshots

Знімок екрана 2024-10-08 о 01 11 17

Installation method

chectl/next

Environment

macOS

Eclipse Che Logs

No response

Additional context

No response

@olexii4 olexii4 added kind/bug Outline of a bug - must adhere to the bug report template. area/dashboard severity/P3 Lower priority than a P2. Optional work that might get done, or not. See also help wanted issues. team/A This team is responsible for the Che Operator and all its operands as well as chectl and Hosted Che labels Oct 7, 2024
@olexii4 olexii4 self-assigned this Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dashboard kind/bug Outline of a bug - must adhere to the bug report template. severity/P3 Lower priority than a P2. Optional work that might get done, or not. See also help wanted issues. team/A This team is responsible for the Che Operator and all its operands as well as chectl and Hosted Che
Projects
Status: Ready for Review
Development

Successfully merging a pull request may close this issue.

1 participant