swagger-vue icon indicating copy to clipboard operation
swagger-vue copied to clipboard

Swagger to JS & Vue & Axios Codegen

Results 10 swagger-vue issues
Sort by recently updated
recently updated
newest added

is invalid for option "encoding" 对中文生成API过敏,提示:对选项“encoding”无效

The module works well for OAS 2 but not with OAS 3. Are there any upcoming releases or is it an issue from my side? Thanks! ``` /Users/nagnath.masali/Swagger/For Vue/node_modules/swagger-vue-axios/node_modules/swagger-vue/lib/parse.js:152 swagger.apis.forEach(function...

Add serialize parameters to generated methods. To be able parse and know which parameters supported by api call. And to be able draw them on page, for example.

this YAML ``` /thread/settings_sources_keywords: post: tags: - thread summary: ThreadSetSourcesKeywords description: ThreadSetSourcesKeywords operationId: ThreadSetSourcesKeywords consumes: - application/json produces: - application/json parameters: - in: body name: body description: Thread settings -...

I add two lines (19,20) in generated code for work with cookies. ``` config = config || {}; config.withCredentials = true; ``` but when i use GET requests, cookie not...

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.

Is it possible to generate models similar to the swagger-codegen for javascript?

Hello chenweiqun, I found this project when I was searching someway of integrating an swagger api to vue. I'm able with your code, to generate the api.js code, but I...

你好,是否可以提供详细教程,谢谢!