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 have struct model and I want to make a parameter as required
type HTTPError struct { Code int `json:"code" example:"400"` Message string `json:"message" example:"Bad Request"` ErrorType string `json:"type" example:"A0"` }
I want to make Code as required.
The text was updated successfully, but these errors were encountered:
This is the issue of swag.
It is difficult to done the contents of the question. If you have a good idea please suggest for me.
Sorry, something went wrong.
This issue is fixed? How can i declared required a filed in struct ? THX! @pei0804 @zhongkeqin @infiquanta
No branches or pull requests
I have struct model and I want to make a parameter as required
I want to make Code as required.
The text was updated successfully, but these errors were encountered: