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

Endpoints with ID's placeholder in Swagger UI is unworking (launcher-controller, test-run-controller, test-controller) #1994

Closed
khsboris opened this issue Jan 10, 2020 · 6 comments
Assignees

Comments

@khsboris
Copy link

Description
When we try use some Swagger UI endpoints that needs ID (f. e. launcherId, testRunId, testId) we can't retrieve response or status code (issue with ID's placeholder)

Steps to reproduce

  1. authorize in Zafira API
  2. create launcher and get laucherId
    send Post request to https://automation.qaprosoft.farm/zafira-ws/api/launchers?automationServerId=${automationServerId}
  3. Try to input launcher id (id placeholder) in get launcher by id method (Swagger UI)
  4. tap execute btn

Actual behavior
(ID's placeholder turn red, execute btn is not clickable)

Expected behavior (if known)
status code 200 in response and getting launcher

Environment
https://automation/zafira-ws/api
API (back-end) version: 2

@tsvrko
Copy link
Contributor

tsvrko commented Feb 10, 2020

Looks like swagger bug. Does it work after page refresh?

@khsboris
Copy link
Author

Looks like swagger bug. Does it work after page refresh?

No, all ID's placeholder is unworking all time, after page refresh too

@tsvrko
Copy link
Contributor

tsvrko commented Feb 10, 2020

For now looks like you should execute requests in postman for now.

@brutskov
Copy link
Contributor

@tsvrko try to update with dataTypeClass = Long.class (e.g.). It is working

@tsvrko
Copy link
Contributor

tsvrko commented Feb 14, 2020

Fixed, available on stage ui v.1.360-SNAPSHOT | server v.1.535-SNAPSHOT | client v.1.0-SNAPSHOT

@lmikhadyuk
Copy link

Verified in ui v.1.360-SNAPSHOT | server v.1.537-SNAPSHOT | client v.1.0-SNAPSHOT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants