From e436d55141483ac6abc8f3d4f7502b4c03a1f553 Mon Sep 17 00:00:00 2001 From: gururajjeerge Date: Wed, 6 May 2020 23:46:30 +0530 Subject: [PATCH 1/2] Updating document to handle swagger documentation view issue --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 5942c9d7c182..c71325551f04 100644 --- a/README.md +++ b/README.md @@ -66,6 +66,8 @@ If you have any questions, please contact Onepanel directly at support@onepanel. Automatically generated Swagger documentation for Django REST API is available on ``/api/swagger`` (default: ``localhost:8080/api/swagger``). +Swagger documentation is visiable on allowed hostes, Update environement variable in docker-compose.yml file with cvat hosted machine IP or domain name. Example - ``ALLOWED_HOSTS: 'localhost, 127.0.0.1'``) + ## LICENSE Code released under the [MIT License](https://opensource.org/licenses/MIT). From 8bbeee2b720fbb1b4a11f194acf67172cd719e50 Mon Sep 17 00:00:00 2001 From: gururajjeerge Date: Wed, 6 May 2020 23:58:04 +0530 Subject: [PATCH 2/2] Updating document to handle swagger documentation view issue --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 77c4cb330456..87a6a475b661 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,7 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - ### Fixed -- +- Updated Rest API document, Swagger document serving instruction issue (https://github.com/opencv/cvat/issues/1495) ### Security -