I have a orm model struct, I want to use it for @param's json body type. but there only two fields is needed. How to ignore a field like go-swagger by using swagger:ignore?
You can. https://github.com/swaggo/swag/blob/50660570fd78f4658c71f2612a970123ae36711b/testdata/simple/web/handler.go#L32
Most helpful comment
You can.
https://github.com/swaggo/swag/blob/50660570fd78f4658c71f2612a970123ae36711b/testdata/simple/web/handler.go#L32