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

devices/configurations REST endpoints have wrong descriptions in SwaggerUI #2229

Closed
lorthirk opened this issue Dec 5, 2018 · 0 comments · Fixed by #2233
Closed

devices/configurations REST endpoints have wrong descriptions in SwaggerUI #2229

lorthirk opened this issue Dec 5, 2018 · 0 comments · Fixed by #2233
Assignees
Labels
Bug This is a bug or an unexpected behaviour. Fix it! REST API We hope to REST everyday

Comments

@lorthirk
Copy link

lorthirk commented Dec 5, 2018

Describe the bug
In SwaggerUI, there are a couple of REST endpoints under the Devices resource that have a wrong description.

To Reproduce
Steps to reproduce the behavior:

  1. Open SwaggerUI at http:///doc
  2. Expand the Devices resource
  3. Scroll to find Configurations methods
  4. The description are not aligned to the actual endpoint behavior

Expected behavior
devices/{deviceId}/configuration/{componentId} endpoints are about a single component, while /{scopeId}/devices/{deviceId}/configuration are about the whole Device configuration

Screenshots
schermata 2018-12-05 alle 11 16 45

Version of Kapua
1.0.2

Type of deployment
[x] Local Vagrant deployment
[x] Docker
[x] Openshift (in its variants)
[x] Others

Main component affected
[ ] Console (in case of console please report info on which browser you encountered the problem)
[x] REST API
[ ] Message Broker
[ ] - Others

@lorthirk lorthirk added Bug This is a bug or an unexpected behaviour. Fix it! REST API We hope to REST everyday labels Dec 5, 2018
@lorthirk lorthirk self-assigned this Dec 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is a bug or an unexpected behaviour. Fix it! REST API We hope to REST everyday
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant