swagger-spring-boot
swagger-spring-boot copied to clipboard
全局认证窗口 name 字段无法输入
swagger-spring-boot 版本:
使用方法: spring.swagger.base-package=com.battcn spring.swagger.enabled=true spring.swagger.globalOperationParameters[0].name=Authorization spring.swagger.globalOperationParameters[0].description=Token信息,必填项 spring.swagger.globalOperationParameters[0].modelRef=string spring.swagger.globalOperationParameters[0].parameterType=header spring.swagger.globalOperationParameters[0].required=true
页面点击 authorie 按钮报一下错误:
authorizations.vue:52 Uncaught TypeError: Cannot read property 'name' of undefined at a._setAuthorizeVal (authorizations.vue:52) at n (vue.esm.js:190) at e (vue.esm.js:2004) at HTMLButtonElement.t._withTask.t._withTask (vue.esm.js:1802)
https://github.com/zcoway/spring-boot2-learning/blob/master/images/swagger-authorized-error.png @djspys1