go-swagger3 icon indicating copy to clipboard operation
go-swagger3 copied to clipboard

`skip` flag not working field custom types mapping

Open bcordobaq opened this issue 1 year ago • 2 comments

Hi, I realized that go-swagger3 still continues with the type mapping for those fields marked with skip: "true". For example:

type Foo struct {
  field1 string `json:"field1"`
  field2 string `json:"field2"`
  field3 Bar `json:"field3" skip:"true"`
}

type Bar struct {
  ...
}

And, if I don't want to map the Bar type, it also processes it.

bcordobaq avatar Feb 01 '23 19:02 bcordobaq