wcandillon / swagger-js-codegen

A Swagger Codegen for typescript, nodejs & angularjs
Apache License 2.0
693 stars 286 forks source link

Implements 401 check for typescript and openapi3 #248

Closed JurajKavka closed 3 years ago

JurajKavka commented 3 years ago

When you want to skip 401 check and do not want to call _onResponseUnauthorized callback, just mark your method in openapi3 with x-skip-401-callback: true. It is especially handy for login() methods...

JurajKavka commented 3 years ago

i made pull reuest to wrong fork sorry