create-go-app / fiber-go-template

📝 Production-ready backend template with Fiber Go Web Framework for Create Go App CLI.
https://github.com/create-go-app/cli/wiki
Apache License 2.0
925 stars 119 forks source link

Swagger docs broken #220

Closed terodelarosa closed 6 months ago

terodelarosa commented 1 year ago

Required check list:

My environment:

Describe the bug:

Automatically generated Swagger 2 docs don't work. /v1/user/sign/up endpoint doesn't send JSON encoded payload but rather the raw value of user_role.

Steps to reproduce the behavior:

  1. Go to /swagger/index.html#/User/post_v1_user_sign_up
  2. Click on 'Try it out'
  3. Fill values
  4. Click on 'execute'
  5. See error

Expected behavior:

Swagger should send a JSON encoded payload including all fields.

Screenshots: Captura de pantalla 2023-09-07 162011

Additional context:

welcome[bot] commented 1 year ago

Thanks for opening your first issue here! 🎉 Be sure to follow the issue template!

stale[bot] commented 9 months ago

👋 Hello. Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 6 months ago

⚡️ This issue has been automatically closed because it has not had recent activity.