-
-
Notifications
You must be signed in to change notification settings - Fork 39
refactor: migrate from nunjucks to react-sdk for code generation and handle curly-braces in operationID #386
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
base: master
Are you sure you want to change the base?
Conversation
Broadly, the code changes covers the following: - Efficient schema handling and class generation (for both JSON and AVRO) - Support for complex JSON and AVRO schema (inheritences, nested objects and complex schema settings) - Support for schema settings around field formats, constraints etc - Proper binder configuration (for Solace, Kafka and RabbitMQ) - Solace-specific: Queue/Topic handing in the binding configuration - Revamped integration.test with support scripts for generating code from asyncapi files in mocks and compiling the generated code, generate report - Support for all the template parameters and x-* custom overrides
- Add missing toJavaClassName import in ApplicationYml.js - Fix duplicate 'properties' key in avroProcessor.js (renamed to propertiesArray) - Move ModelClass definition before SchemaModel to fix use-before-define - Refactor nested ternary expressions into helper functions - Fix brace-style issues (else-if on same line) - Fix lonely-if by converting to else-if chain - Add radix parameter to parseInt() - Prefix intentionally unused variables with underscore - Remove unused destructured variables in coreProcessor.js - Update .eslintrc to ignore vars/args prefixed with underscore - Add .eslintignore to exclude build artifacts
|
|
Nothing blocking. Let's have this merged. Thanks for all your hard work! |
| expect(appJava).toContain('package com.company;'); | ||
| expect(appJava).toContain('import org.springframework.boot.SpringApplication;'); | ||
| expect(appJava).toContain('import org.springframework.boot.autoconfigure.SpringBootApplication;'); |
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.
These expectations feel like a regression from the snapshot testing that was had in the last repo, since it was more thorough with checking the entire file for changes.

Description
Related issue(s)