Skip to content
This repository was archived by the owner on Jan 11, 2021. It is now read-only.

Improving Info on Generating the JSON Settings - #713

Open
PauloPeres wants to merge 1 commit into
marcgibbons:masterfrom
PauloPeres:master
Open

Improving Info on Generating the JSON Settings#713
PauloPeres wants to merge 1 commit into
marcgibbons:masterfrom
PauloPeres:master

Conversation

@PauloPeres

Copy link
Copy Markdown

:D Tested and Working
Fixing #676 #658 #626 #613
Just add the 'INFO' key on your SWAGGER_SETTINGS on settings.py of Django and should work

@decentral1se

Copy link
Copy Markdown
Contributor

🍰

@jadedh

jadedh commented Nov 29, 2018

Copy link
Copy Markdown

Hi is this working now? Thank you!

@PauloPeres

Copy link
Copy Markdown
Author
SWAGGER_SETTINGS = {
'INFO': {
'url': 'https://pir ir;/',
'version': 'VERSION',
'contact': {
    'name': 'CONTACT NAME',
    'email': 'CONTACT EMAIL',
    'url': 'CONTACT URL/DOCUMENTATON URL'
},
'description': 'Description of the api on the page',
'license': {
    'name': 'MIT',
    'url': 'LINK TO YOUR LICENSE',
},
'title': 'Title of your api',
}
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants