You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// swagger:parameters addTitle
type AddTitleRequest struct {
// some explanation
// in: body
// required: true
Req Req `json:"req"`
}
// Req represents something here
type Req struct {
A string `json:"a,omitempty"`
B string `json:"b,omitempty"`
C int `json:"c,omitempty"`
}
Then I try to generate specs using the command:
swagger generate spec -o ./swagger/swagger.json
The output does not have ref to schema for response objects. Nested structures seems to be broken
Environment
swagger version: 0.30.2
go version: 1.18.2
OS: Mac M1