From 7b31525a1c638be616c9333e75b690fc61ac7d2d Mon Sep 17 00:00:00 2001 From: Gururaj Jeerge Date: Thu, 7 May 2020 12:52:28 +0530 Subject: [PATCH] Updating instructions to serve Swagger documentation (#1502) --- CHANGELOG.md | 2 +- README.md | 2 ++ 2 files changed, 3 insertions(+), 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 - 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).