fredbi
fredbi
Atm, body in commits is not parsed. I implemented this on my fork. Pushing a PR to see if people get some interest with this
@tsuyoshiwada no worries we are all a bit sidetracked these days... Yeah sure I'll change the path (I had to do this for my fork to build).
Tested from current master. go-swagger version: 59c3c59d9881915da2818a47ee2b76a8628ba030 go version go1.21.4 linux/amd64 using the above code as main.go and typing, from the same folder: ````bash swagger generate spec -c . {...
Duplicates #989
Fixed with pr #2749 merged
Documented here: https://goswagger.io/use/middleware.html
Made sure the aforementioned patch is indeed published.
@casualjim well it occurs that this generated piece pertains to so called "protected templates". To be fair, this part is not completely customizable with go-swagger _as is_. Maybe we should...
@kolyshkin it is not clear to me what `--skip-struct` would bring compared to the existing `--skip-models`.
@casualjim oh really? I missed that part... Thanks for rectifying my false assertion. There is always something to be learnt on this codebase ... :)