-
Notifications
You must be signed in to change notification settings - Fork 37
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
Is it possible to add custom rules? #240
Comments
yes, you can create an issue for your new rule, we need to evaluate it |
Thank you very much, Jianye!!!What if we want to add them to our company to use internally? Is it possible? BTW, is the code in OpenApiDiff.dll engine (not the node-based oad wrapper) open source?
Thanks again!!Anant Rao
Sent from Yahoo Mail on Android
On Tue, Aug 30, 2022 at 10:18 PM, ***@***.***> wrote:
yes, you can create an issue for your new rule, we need to evaluate it
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
--- Replying to all --
Thank you very much, Jianye!!!What if we want to add them to our company to use internally? Is it possible? BTW, is the code in OpenApiDiff.dll engine (not the node-based oad wrapper) open source?
Thanks again!!Anant Rao
Sent from Yahoo Mail on Android
On Tue, Aug 30, 2022 at 10:18 PM, ***@***.***> wrote:
yes, you can create an issue for your new rule, we need to evaluate it
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
I misunderstood, this repo is open source, so any new feature/idea is welcomed. |
Hello Jianyexi, Thanks for the suggestion. After processing each change/diff (between the two spec files), you’ll call a plugin developed by me against an interface specified by you. The interface/plugin takes one input param, which is the context that you are currently printing in the output: The plugin returns a structure containing: Return code from the plugin: 0 +1 -1
• Id (You can reserve codes >= 5000 for plug-in developers. As an example, I might return 5001) Please let me know your thoughts. |
Depending on the usage, we might want to add our rules, or modify existing rules by changing the type etc.
Is it possible to do with openapi-diff?
Thanks!
The text was updated successfully, but these errors were encountered: