Swag: How to ignore an appointed struct field?

Created on 4 Nov 2018  路  1Comment  路  Source: swaggo/swag

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?

>All comments

Was this page helpful?
0 / 5 - 0 ratings

Related issues

touyu picture touyu  路  3Comments

kirillDanshin picture kirillDanshin  路  3Comments

lfaoro picture lfaoro  路  4Comments

chyroc picture chyroc  路  3Comments

LennyPenny picture LennyPenny  路  4Comments