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
I want use go-swagger to generate spec from code. There is a parameter used by many routes, So the annotation looks like the following:
// swagger:parameters opid1 opid2 opid3 opid4 opid5 opid6 opid7 opid8 0pid9 opid10 opid11 opid12 type TokenWrapper struct { // token // in: header // Required: true Token string json:"X-Auth-Token" }
json:"X-Auth-Token"
The line "// swagger:parameters opid1 opid2 opid3 opid4 opid5 opid6 opid7 opid8 0pid9 opid10 opid11 opid12 " is too long, how to split into new lines?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I want use go-swagger to generate spec from code.
There is a parameter used by many routes, So the annotation looks like the following:
// swagger:parameters opid1 opid2 opid3 opid4 opid5 opid6 opid7 opid8 0pid9 opid10 opid11 opid12
type TokenWrapper struct {
// token
// in: header
// Required: true
Token string
json:"X-Auth-Token"
}
The line "// swagger:parameters opid1 opid2 opid3 opid4 opid5 opid6 opid7 opid8 0pid9 opid10 opid11 opid12 " is too long, how to split into new lines?
The text was updated successfully, but these errors were encountered: