Skip to content

Commit

Permalink
UPPERCASE as well
Browse files Browse the repository at this point in the history
  • Loading branch information
turboFei committed Sep 21, 2024
1 parent 5f6d35c commit 2a50b8f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ public class WorkerExitRequest {
* The type of the worker exit request.
*/
public enum TypeEnum {
DECOMMISSION("Decommission"),
DECOMMISSION("DECOMMISSION"),

GRACEFUL("Graceful"),
GRACEFUL("GRACEFUL"),

IMMEDIATELY("Immediately"),
IMMEDIATELY("IMMEDIATELY"),

NONE("None");
NONE("NONE");

private String value;

Expand Down
10 changes: 5 additions & 5 deletions openapi/openapi-client/src/main/openapi3/worker_rest_v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -602,13 +602,13 @@ components:
properties:
type:
type: string
default: None
default: NONE
description: The type of the worker exit request.
enum:
- Decommission
- Graceful
- Immediately
- None
- DECOMMISSION
- GRACEFUL
- IMMEDIATELY
- NONE

HandleResponse:
type: object
Expand Down

0 comments on commit 2a50b8f

Please sign in to comment.