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: swagger tag added, additionalTags null fix #116

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

Conversation

Hardik-hi
Copy link
Contributor

@Hardik-hi Hardik-hi commented Aug 5, 2022

Changes

  1. Added Swagger API tag for announcements APIs

    Issue: Announcements tag not visible in swagger ui, API descriptions nested under default tag (https://sandbox.shikshaplatform.io/api/swagger-docs)

    Expected: Tag should be visible like other modules

    Fix: Added @ApiTags("Announcements") in Announcement Controller, UI now looks as follows:

image

  1. Bugfix for additionalTags

    Bug: When additionalTags is undefined during creation of announcement, value of additional_tags being set as ["undefined"] in DB

    Expected: Value in DB should be set as NULL

    Fix: removed template literals to send empty array in case of undefined value to DB

CC: @Shruti3004 @coolbung

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