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: form tag #102

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

fix: form tag #102

wants to merge 1 commit into from

Conversation

tangxinfa
Copy link

@tangxinfa tangxinfa commented May 6, 2024

Fix issue: #100

对 tag 的判断需要更精确,有的 json 字段名 (如:platform) 本身就包含 "form",如下所示:

Platform    string  `json:"platform"`

这会导致生成的 swagger 中 consumes 类型为 "multipart/form-data"

@tangxinfa
Copy link
Author

@MaxToby 能否帮忙 review 一下这个 Merge Request

@tangxinfa
Copy link
Author

@kevwan 能否帮忙 review 一下这个 Merge Request

@kevwan kevwan self-assigned this May 9, 2024
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