swagger-vue
swagger-vue copied to clipboard
swagger.json with wildcard cause error
My API contain this route path /*
. When I execute swagger-vue, it throw an error here (toUpperCase on undefined):
https://github.com/chenweiqun/swagger-vue/blob/689037b03fa884c31a3e034cd3a0505107862102/lib/parse.js#L25
I suggest adding path === '/*'
to line 10.