Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.5",
"regenerated": "2023-08-10 19:08:09.601897",
"spec_repo_commit": "991b8a6f"
"regenerated": "2023-08-11 17:09:04.774339",
"spec_repo_commit": "0b6bfbed"
},
"v2": {
"apigentools_version": "1.6.5",
"regenerated": "2023-08-10 19:08:09.615583",
"spec_repo_commit": "991b8a6f"
"regenerated": "2023-08-11 17:09:04.792492",
"spec_repo_commit": "0b6bfbed"
}
}
}
2 changes: 2 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19320,13 +19320,15 @@ components:
WidgetComparator:
description: Comparator to apply.
enum:
- '='
- '>'
- '>='
- <
- <=
example: '>'
type: string
x-enum-varnames:
- EQUAL_TO
- GREATER_THAN
- GREATER_THAN_OR_EQUAL_TO
- LESS_THAN
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@
public class WidgetComparator extends ModelEnum<String> {

private static final Set<String> allowedValues =
new HashSet<String>(Arrays.asList(">", ">=", "<", "<="));
new HashSet<String>(Arrays.asList("=", ">", ">=", "<", "<="));

public static final WidgetComparator EQUAL_TO = new WidgetComparator("=");
public static final WidgetComparator GREATER_THAN = new WidgetComparator(">");
public static final WidgetComparator GREATER_THAN_OR_EQUAL_TO = new WidgetComparator(">=");
public static final WidgetComparator LESS_THAN = new WidgetComparator("<");
Expand Down