onepanel icon indicating copy to clipboard operation
onepanel copied to clipboard

Fix onepanel names in swagger, generated by CVAT

Open aleksandrmelnikov opened this issue 4 years ago • 1 comments

image In the image, there are weird names. onepanelio_get_workflow_templates_create

  • This is a retrieval or GET operation, but swagger appended a "CREATE".

This is due to the function being marked as a "POST" operation.

We could change it to a "GET", but then Swagger may append something like "read" to the end.

CVAT has some functions, like in engine/views.py, that avoid this naming scheme.

To see this in real-time, spin up CVAT and go to this example URL: https://cvat-latest-08-12--rush.demo.onepanel.site/api/swagger/

Investigate: The "static" folder that gets generated might hold the output of swagger.

aleksandrmelnikov avatar Aug 13 '20 23:08 aleksandrmelnikov

Issue-Label Bot is automatically applying the label kind/bug to this issue, with a confidence of 0.87. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

issue-label-bot[bot] avatar Aug 13 '20 23:08 issue-label-bot[bot]