eclipse-che / che

Kubernetes based Cloud Development Environments for Enterprise Teams
http://eclipse.org/che
Eclipse Public License 2.0
6.99k stars 1.19k forks source link

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

Closed olexii4 closed 1 month ago

olexii4 commented 1 month ago

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