-
-
Notifications
You must be signed in to change notification settings - Fork 190
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
feat: add file path as input #1601
feat: add file path as input #1601
Conversation
✅ Deploy Preview for modelina canceled.
|
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.
Welcome to AsyncAPI. Thanks a lot for creating your first pull request. Please check out our contributors guide useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.
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.
Thanks for taking the time to do this @nilkanth987 🙏 Got a few things that are needed to change 🙂
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.
You have some linting issues that make it hard to review the PR 🙂
@jonaslagoni , Fixed linting issues. Also do I have to use new Parser for |
Let me check 🙂 |
@nilkanth987 when you say new parser what do you mean? |
@jonaslagoni , This is the new parser added in next branch that I was referring to.
|
@nilkanth987 its not a new parser just a bundler that can convert between multiple implementations. Just keep what you have 👍 |
1 similar comment
@nilkanth987 its not a new parser just a bundler that can convert between multiple implementations. Just keep what you have 👍 |
@jonaslagoni , If everything looks good then should I write documentation for the changes done in PR? |
Yes, add an example and documentation for the feature 👌 Also make sure you fix the linting problem the CI complains about 🙂 |
@jonaslagoni , Added example. Let me know if any issue. Merge it if everything looks good. 🙂 |
@nilkanth987 you still have a failing check: https://github.com/asyncapi/modelina/actions/runs/6918808106/job/18831710393?pr=1601 |
@jonaslagoni , Fixed |
Kudos, SonarCloud Quality Gate passed! |
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.
Nice persistence @nilkanth987! 🔥
/rtm |
@all-contributors please add @nilkanth987 for code, test, example, docs |
I've put up a pull request to add @nilkanth987! 🎉 |
🎉 This PR is included in version 3.0.0-next.7 🎉 The release is available on: Your semantic-release bot 📦🚀 |
* feat!: convert to use multi parser (#1587) * feat!: adds support for duration in java (#1604) * feat: enable AsyncAPI v3 (#1600) * fix!: add csharp support for DateTime, TimeSpan, Guid (#1612) * feat!: adds extend in common, meta, and constrained models (#1613) * feat!: adds inheritance with interfaces for java (#1593) * chore: remove duplicate version entry for AsyncAPI processor (#1609) * feat!: render python union in pydantic in the pre 3.10 way (#1626) * feat: add file path as input (#1601) * feat!: add options as parameter to constraints (#1667) * fix: (un)marshalling tuple and dictionary unwrapping for Typescript (#1717) * fix: jsonbinpack preset and runtime tests (#1718) * chore: fix linting * chore: remove unused directory * feat!: add useJavascriptReservedKeywords option for TS (#1727) * feat: enable raw properties for interface (#1729) * fix: newtonsoft could not handle enum values (#1731) * chore: update Java runtime tests (#1739) * fix: edge case where references was incorrect handled for JSON Schema (#1754) * fix: recursion bug for get nearest dependencies (#1757) --------- Co-authored-by: Kenneth Aasan <k.aasan@sportradar.com> Co-authored-by: jano-petras <jano.petras@gmail.com> Co-authored-by: Nilkanth Parmar <parmarnilkanth@gmail.com>
🎉 This PR is included in version 4.0.0-next.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Description
inputProcessor
option in the AbstractGenerator withtype
enum paramfile
option in input type to allow user to pass file path as input to any generatorgenerateToFiles
method inAbstractFileGenerator
to any for handling any type of inputInputTypes
enum and handle them.Related issue(s)
Resolves #1591