-
-
Notifications
You must be signed in to change notification settings - Fork 7.2k
Support language N4JS #15089
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
Support language N4JS #15089
Conversation
Merge in master
import io.swagger.v3.parser.util.SchemaTypeUtil; | ||
|
||
@SuppressWarnings("deprecation") | ||
public class N4jsClientCodegenModelTest { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mmews-n4 thanks for the PR.
looks like this test file is a just copy of another test file?
if that's the case, I don't think we need it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe t 8000 his comment to others. Learn more.
@wing328 Thanks for your review!
Right, this was a copy from js, since JavaScript is very similar to N4JS. I removed it as you said.
I took a look and could repeat such behaviour locally. Not sure why. Will try to investigate further this weekend. |
I merged master to keep this PR up-to-date. Please note that I find the reason for the failing CI builds to be unrelated with this PR. However, in case it is actually related to this PR, please let me know how I can improve this. Thank you! |
LGTM. I'll file a separate PR to improve it after merging this one. |
Thank you! |
@mmews-n4 can you please PM me via Slack at your earliest convenience? https://join.slack.com/t/openapi-generator/shared_invite/zt-12jxxd7p2-XUeQM~4pzsU9x~eGLQqX2g |
@mmews-n4 sorry I've to revert the change for now. Please ping me via Slack to discuss further. |
This PR is the initial commit to enable client generator support for language N4JS. N4JS is a JavaScript based language that adds a sophisticated type model and other features. It can be compared to TypeScript. More details of language N4JS can be found at n4js.org.
PR checklist
This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master.
These must match the expectations made by your contribution.
You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example
./bin/generate-samples.sh bin/configs/java*
.For Windows users, please run the script in Git BASH.
master
(6.3.0) (minor release - breaking changes with fallbacks),7.0.x
(breaking changes without fallbacks)Note
./bin/utils/export_docs_generators.sh
,./bin/utils/ensure-up-to-date.sh
) do generate changes on 1000+ files that are unrelated to this PR but are instead related to generators of other languages like Java Springboot, Python, etc. These unrelated changes are not part of this PR.