ODM2 / ODM2RESTfulWebServices

A Python RESTful web service inteface for accessing data in an ODM2 database via Django rest swagger APIs.
http://odm2.github.io/ODM2RESTfulWebServices/
BSD 3-Clause "New" or "Revised" License
3 stars 4 forks source link

Fix settings for swagger to get a base domain #26

Closed lsetiawan closed 7 years ago

lsetiawan commented 7 years ago

Overview

This PR allows swagger to get a base domain to use in its example queries. User then don't need to go into the swagger.yaml to modify it. Will need more settings like this to modify user info for swagger, but it's not top priority right now.

Also, the root url redirects to /v1/docs now, rather than an error window.

lsetiawan commented 7 years ago

Merging myself.