fizz
fizz copied to clipboard
Do we have method to not show all struct in param and return type ?
For example, I have a function with such signature
type NodePatchParam struct {
ID uint `path:"id"`
models.Node
}
func PatchNode(c *gin.Context, nodePatchParam *NodePatchParam) (*NodeResponse, error)
So the schemas in generated spec will show many schemas, including NodePatchParam and NodeResponse. What if I don't want to show these types ? How to omit these types ?