Skip to content
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

[CELEBORN-1477][FOLLOWUP] Minor fix for v1 RESTful apis before release #3023

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

turboFei
Copy link
Member

@turboFei turboFei commented Dec 22, 2024

What changes were proposed in this pull request?

Minor fix the v1 RESTful apis before 0.6.0 release.

  1. update the API description to use UPPER case worker EventType
  2. subResourceConsumption => subResourceConsumptions.

Why are the changes needed?

  1. With [CELEBORN-1607] Enable useEnumCaseInsensitive for openapi-generator #2754, the openapi-sdk works well. but for the RESTful call without SDK, the worker eventType is still case sensitive, might be caused by the jersey issue mentioned in enum should be serialized with name and not default toString eclipse-ee4j/jersey#5288. So, In this PR, I change the description in the swagger for user guidance.
image
  1. rename subResourceConsumption to subResourceConsumptions.

Does this PR introduce any user-facing change?

No, the api has not been released.

How was this patch tested?

GA.

@turboFei turboFei changed the title [CELEBORN-1477][FOLLOWUP] Minor fix for api v1 RESTful apis [CELEBORN-1477][FOLLOWUP] Minor fix for v1 RESTful apis Dec 22, 2024
@turboFei turboFei changed the title [CELEBORN-1477][FOLLOWUP] Minor fix for v1 RESTful apis [CELEBORN-1477][FOLLOWUP] Minor fix for v1 RESTful apis before release Dec 22, 2024
@turboFei turboFei requested a review from SteNicholas December 22, 2024 23:39
@FMX
Copy link
Contributor

FMX commented Dec 23, 2024

Is this PR needed for release 0.5.3?

@turboFei
Copy link
Member Author

Is this PR needed for release 0.5.3?

no, only for 0.6.0

Copy link
Member

@SteNicholas SteNicholas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants