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

@KipSigei KipSigei force-pushed the api-swagger-docs branch from 11ff690 to 424a6d1 Compare July 4, 2024 07:41
Signed-off-by: Kipchirchir Sigei <[email protected]>
@KipSigei KipSigei force-pushed the api-swagger-docs branch from 424a6d1 to 9a9a7f0 Compare July 8, 2024 08:37
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