Skip to content

Add source_website to CometCalendarEvent schema and docs#369

Open
AJayaV06 wants to merge 1 commit intoUTDNebula:developfrom
AJayaV06:feat/143-add-cometcalendarevent-info
Open

Add source_website to CometCalendarEvent schema and docs#369
AJayaV06 wants to merge 1 commit intoUTDNebula:developfrom
AJayaV06:feat/143-add-cometcalendarevent-info

Conversation

@AJayaV06
Copy link
Copy Markdown

Adds source_website to Event schema and updates Swagger docs.

Copilot AI review requested due to automatic review settings March 30, 2026 18:07
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a new source_website field to the Event schema and propagates it into the generated Swagger/OpenAPI documentation so API consumers can see/receive the new attribute.

Changes:

  • Added SourceWebsite (source_website) to schema.Event.
  • Updated generated Swagger YAML definition to include source_website.
  • Updated generated docs.go template to include source_website in the Event model.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
api/schema/objects.go Extends Event with SourceWebsite for BSON/JSON serialization.
api/docs/swagger.yaml Includes source_website in the schema.Event definition for Swagger output.
api/docs/docs.go Updates the generated Swagger JSON template to reflect the new field.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mikehquan19 mikehquan19 self-requested a review March 30, 2026 18:40
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.

2 participants