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

fix: improve swagger doc #176

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

Conversation

tehreem-sadat
Copy link
Collaborator

No description provided.

},
}
),
),
Copy link
Collaborator Author

@tehreem-sadat tehreem-sadat Dec 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

required=False,
type=openapi.TYPE_STRING,
enum=['csv'],
description=
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

status=http_status.HTTP_403_FORBIDDEN
)
except:
pass
Copy link
Collaborator Author

@tehreem-sadat tehreem-sadat Dec 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Before Change:
image

After Change:
image

overrides={
200: serializers.CourseDetailsSerializer(read_only=True, required=False),

},
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

@tehreem-sadat tehreem-sadat force-pushed the tehreem/fix_improve_swagger_docs branch from 3bd47e6 to a188688 Compare December 26, 2024 13:44
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