gin-swagger
gin-swagger copied to clipboard
DRY templates for go-swagger
It should be possible to set headers in the `api.Response` object.
The code produced by [this line](https://github.com/mikkeloscar/gin-swagger/blob/c7ceafbf05b9075a9b5b658e29186dddf2efe269/templates/parameter.gotmpl#L328) of the Parameter template does not correctly handle default values of type Array, writing the array directly into the template with its values as...
#1 introduced the `--token-url` flag for setting the `tokeninfo url`. At least that was the intention. But `TokenURL != TokenInfoUrl` (https://github.com/zalando-incubator/kubernetes-on-aws/pull/587#discussion_r140042713) It's used wrong in `gin-oauth2`.
In my swagger.json, there is a enum: "operator": { "type": "string", "enum": [ "==", "!=", ">", ">=", "=, " // APIFilterOperator captures enum value ">=" APIFilterOperator string = ">=" //...