django-rest-swagger icon indicating copy to clipboard operation
django-rest-swagger copied to clipboard

Improving Info on Generating the JSON Settings

Open PauloPeres opened this issue 6 years ago • 3 comments

: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

PauloPeres avatar Nov 17 '17 19:11 PauloPeres

🍰

decentral1se avatar Dec 06 '17 12:12 decentral1se

Hi is this working now? Thank you!

jadedh avatar Nov 29 '18 06:11 jadedh

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',
}
}

PauloPeres avatar Nov 29 '18 12:11 PauloPeres