-
Notifications
You must be signed in to change notification settings - Fork 399
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(api): Search & suggest license from the reference text #2524
Conversation
2403afc
to
564dce3
Compare
This pull request has conflicts, please rebase with master to resolve those before we can evaluate the pull request. |
564dce3
to
14d9bba
Compare
This pull request has conflicts, please rebase with master to resolve those before we can evaluate the pull request. |
Signed-off-by: Gaurav Mishra <mishra.gaurav@siemens.com>
14d9bba
to
0b964c3
Compare
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.
Changes looks good. Tested, working as expected.
Update API version after merge of: fossology#2483 fossology#2517 fossology#2518 fossology#2524 fossology#2528 fossology#2529 fossology#2530 fossology#2532 fossology#2533 fossology#2534 fossology#2535 fossology#2536 fossology#2537 fossology#2538 fossology#2539 fossology#2545 fossology#2549 fossology#2576 Signed-off-by: Gaurav Mishra <mishra.gaurav@siemens.com>
Update API version after merge of: fossology#2483 fossology#2517 fossology#2518 fossology#2524 fossology#2528 fossology#2529 fossology#2530 fossology#2532 fossology#2533 fossology#2534 fossology#2535 fossology#2536 fossology#2537 fossology#2538 fossology#2539 fossology#2545 fossology#2549 fossology#2576 Signed-off-by: Gaurav Mishra <mishra.gaurav@siemens.com>
Description
Added the API to search and the suggested license from the given reference text.
Changes
LicenseController
to build the functionality.index.php
) by adding a new routePOST
/license/suggest
.openapi.yaml
file to write the new API's documentation.How to test
Make a POST request on the endpoint:
/license/suggest
,Screenshots
Related Issue:
Fixes #2510
cc: @shaheemazmalmmd @GMishx