You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`swagger.security` is a definition for the whole API. It is not necessarily set when there is security on individual methods.
Therefore it is better to refer to `swagger.securityDefinitions` to see if you need ` hasServiceParams`.
`isSecure` judgment also refers to ` swagger.securityDefinitions`.
Ref: https://github.com/wcandillon/swagger-js-codegen/blob/master/lib/codegen.js#L41
0 commit comments