Skip to content

feat: add Swagger documentation and registration endpoint#1

Merged
jordan-cod merged 5 commits intomainfrom
feature/implements-swagger-documentation
Apr 5, 2025
Merged

feat: add Swagger documentation and registration endpoint#1
jordan-cod merged 5 commits intomainfrom
feature/implements-swagger-documentation

Conversation

@jordan-cod
Copy link
Owner

  • Implemented Swagger initialization in the Makefile and main.go
  • Created Swagger documentation for the Portfolio Builder API
  • Added RegisterInput, RegisterResponse, and ErrorResponse models
  • Enhanced the Register handler with Swagger annotations
  • Updated routes to include Swagger UI endpoint

- Implemented Swagger initialization in the Makefile and main.go
- Created Swagger documentation for the Portfolio Builder API
- Added RegisterInput, RegisterResponse, and ErrorResponse models
- Enhanced the Register handler with Swagger annotations
- Updated routes to include Swagger UI endpoint
@jordan-cod jordan-cod requested a review from Copilot April 4, 2025 20:54
Copy link

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.

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

Files not reviewed (3)
  • Makefile: Language not supported
  • docs/swagger.yaml: Language not supported
  • go.mod: Language not supported

@jordan-cod jordan-cod requested a review from Copilot April 5, 2025 02:22
Copy link

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.

Copilot reviewed 12 out of 15 changed files in this pull request and generated 1 comment.

Files not reviewed (3)
  • Makefile: Language not supported
  • docs/swagger.yaml: Language not supported
  • go.mod: Language not supported
Comments suppressed due to low confidence (1)

internal/handlers/auth.handler.go:11

  • The Swagger documentation specifies models.RegisterInput for the register request, but the implementation uses an inline struct. Consider using models.RegisterInput to ensure consistency between the docs and the actual request handling.
// Register godoc

@jordan-cod jordan-cod merged commit 60a7829 into main Apr 5, 2025
@jordan-cod jordan-cod deleted the feature/implements-swagger-documentation branch April 5, 2025 02:25
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