openapi-cli | ️ OpenAPI CLI toolbox with rich validation | REST library
kandi X-RAY | openapi-cli Summary
kandi X-RAY | openapi-cli Summary
OpenAPI CLI toolbox with rich validation and bundling features.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of openapi-cli
openapi-cli Key Features
openapi-cli Examples and Code Snippets
Community Discussions
Trending Discussions on openapi-cli
QUESTION
I am generating model in JavaScript with -Dmodels
option. The generated code contains require
module loader used in Node, but I am using Vue Js.
So, I have problem when I require these files in Vue Js project. It gives me an error about superagent
- it suppose I will use superagent
which is also autogenerated.
What I want is to generate pure models with ES6 export/import statements. Is it possible with Swagger Codegen or should I use something else?
Currently, I am using openapi-client but there is no support for model generation.
ANSWER
Answered 2019-Apr-11 at 11:56So, like it usually happens - you find your answer after you ask a question :)
I found there is an option --additional-properties
you can provide like:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install openapi-cli
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page