Add Base Url to Django Rest Swagger -


i can't find way add base url django rest swagger. tried adding

swagger_settings = {     "base_path": 'localhost:62090/', } 

to settings.py. not working.

i couldn't find way display base url in swagger ui, add base url in urls.py

schema_view = get_swagger_view(title='pastebin api',url='/pastebin/') 

this code adds base url between host , url u specified.


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -