We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
内嵌结构体没有解析成内部属性,导致生成后swagger解析为invalid($UNKNOWN)
go type PageReq struct { Page int32 form:"page" PageSize int32 form:"page_size" }
go
form:"page"
form:"page_size"
type XXXReq struct { PageReq BeginDate string form:"begin_date" EndDate string form:"end_date" }
form:"begin_date"
form:"end_date"
![image](https://user-images.githubusercontent.com/38318654/217703550-d2e8a5aa-047f-483d-a2f1-b675e606cd06.png) ![image](https://user-images.githubusercontent.com/38318654/217704451-876e9c08-1428-4b37-aed2-c8bfd36dedc3.png)
The text was updated successfully, but these errors were encountered:
我也遇到了这个问题,希望能尽快解决 @kevwan
Sorry, something went wrong.
No branches or pull requests
内嵌结构体没有解析成内部属性,导致生成后swagger解析为invalid($UNKNOWN)
go
type PageReq struct {
Page int32
form:"page"
PageSize int32
form:"page_size"
}
type XXXReq struct {
PageReq
BeginDate string
form:"begin_date"
EndDate string
form:"end_date"
}
The text was updated successfully, but these errors were encountered: