-
-
Notifications
You must be signed in to change notification settings - Fork 595
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
chore: added swagger types for BOM operations #2230
Conversation
1460574
to
62e426b
Compare
Can I suggest to submit a PR with only the changes you propose? Currently 90% seems to be only linting? |
62e426b
to
c6935b3
Compare
Yes, sorry - fixed. VS code did things I didn't noticed... |
acb2291
to
edad8fb
Compare
You'll find lots of these inconsistencies, which is why I can't really recommend generating clients from the swagger doc. See #840. |
I don't mind keep fixing it as I'm going, I have a client that works pretty well and generated from Swagger. If this is acceptable by you, OFC... |
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.
I guess I'm fine with small incremental improvements until we have a better OpenAPI doc in place.
A few minor adjustments and clarifications.
src/main/java/org/dependencytrack/resources/v1/vo/BomUploadResponse.java
Outdated
Show resolved
Hide resolved
edad8fb
to
966c3c1
Compare
I think the build failure are not related to my changes |
Signed-off-by: Omer Levi Hevroni <omer@goledge.com>
966c3c1
to
90a2356
Compare
Ok, rebased |
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 @omerlh! 🚀
Signed-off-by: Omer Levi Hevroni <omer@goledge.com> Signed-off-by: Omer Levi Hevroni <omer@goledge.com> Signed-off-by: mulder999 <nospam099-github@yahoo.com>
Description
I was working on generating a typescript client using Swagger (happy to contribute the client also!) and I noticed some APIs does not have well defined responses.
Addressed Issue
Additional Details
Checklist
I am not sure how I should test it, so happy to get some feedback on the change!