fredbi

Results 70 comments of fredbi

@vuongabc92 At the moment, you can achieve this by customizing the template. Prepare a custom codegen config like explained here https://goswagger.io/use/template_layout.html#server-generation, then replace model generation by your own template. You...

Hello, I am the OP for https://github.com/spf13/pflag/issues/385. It looks like my proposal for help with cleaning up and upgrading the venerable spf13/pflag has been a long shot. Initially, I merely...

looks related to #2171 . @kul-amr could you please take a look?

@KKawase0104 good tip. Since s2m looked more suited to micro:bit, I tested this one from the same author (and same method) for Arduino; https://github.com/MrYsLab/s2aio. It creates a python3-based bridge between...

@dwertent hello. I've looked at it briefly and the offending line is: https://github.com/kubescape/go-git-url/blame/master/gitlabparser/v1/parser.go#L86 Wrapping it with a check on the "-" particular path part is enough to avoid a panic:...

Also I've detected that there are 2 versions of this go-git-url repo being used: one under the kubescape owner, one under the armosec owner: while the armosec version is still...

I have a small patch ready if you guys are interested. This assumes a few things. I'd need a piece of advice to be sure I am heading in the...

@dwertent here is a proposal for a fix. @dazzag24, @Aman123lug feel free to discard this if you've already started something better. For sure, the fix is not perfect: just assuring...

* Customizing parameters binding can be achieved by overriding this codegen template: https://github.com/go-swagger/go-swagger/blob/master/generator/templates/server/parameter.gotmpl. * You might want to read how to use custom templates there: https://goswagger.io/generate/templates.html * Regarding custom validation...