Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add swagger docs #2622

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Add swagger docs #2622

wants to merge 1 commit into from

Conversation

KipSigei
Copy link
Contributor

@KipSigei KipSigei commented Jun 26, 2024

To be added to the settings file:

SPECTACULAR_SETTINGS = {
    'TITLE': 'Onadata API',
    'DESCRIPTION': 'Your API Description',
    'VERSION': '1.0.0',
    'SERVE_INCLUDE_SCHEMA': False,
    'SWAGGER_UI_SETTINGS': {
        'deepLinking': True,
        'defaultModelRendering': 'model',
    }
}

Signed-off-by: Kipchirchir Sigei <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant