Skip to content

Comments

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

Closed
turboFei wants to merge 2 commits intoapache:mainfrom
turboFei:restful_minor_fix
Closed

[CELEBORN-1477][FOLLOWUP] Minor fix for v1 RESTful apis before release #3023
turboFei wants to merge 2 commits intoapache:mainfrom
turboFei:restful_minor_fix

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.

@RexXiong RexXiong closed this in b7e3eaa Jan 2, 2025
@RexXiong
Copy link
Contributor

RexXiong commented Jan 2, 2025

Thanks, merge to main(v0.6.0)

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.

4 participants