-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add basic Javascript SDK support #1671
Conversation
Conflicts: modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/JavascriptClientCodegen.java
Only added new class "JavascriptClientCodegen", but it seems all classes implementing CodegenConfig are tested using their name. However, I ran it using the full class invocation: The shorthand "javascript" didn't work: Please advise how to add a new language only by implementing interface CodegenConfig without breaking the tests. |
@jfiala thanks for the PR to add Javascript SDK :) To add a new language, please add the following line to
I did a test and no longer see the same error after adding the line above. |
added configuration entry in io.swagger.codegen.CodegenConfig, however it could be picked up automatically as it implements the interface CodegenConfig The shorthand -l javascript is working now. |
Agree with you that ideally it should be picked up automatically. |
Add basic Javascript SDK support
@jfiala thanks again for your contribution of the JS SDK. I'm sure the community would appreciate your effort 🍻 |
see also issue #1294 "Document client SDK"
Add basic Javascript SDK support
(based on the Java templates):