Skip to content

Commit c5cc902

Browse files
committed
Generate new client without dupe enum values
1 parent e9cd14d commit c5cc902

4 files changed

Lines changed: 1 addition & 14 deletions

File tree

.openapi-generator/FILES

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -259,11 +259,4 @@ setup.cfg
259259
setup.py
260260
test-requirements.txt
261261
test/__init__.py
262-
test/test_device_decommission.py
263-
test/test_device_lifecycle_hook_type.py
264-
test/test_device_update_policy_spec.py
265-
test/test_hook_action_run.py
266-
test/test_hook_condition.py
267-
test/test_hook_condition_path_op.py
268-
test/test_update_schedule.py
269262
tox.ini

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ generate-client:
22
npx @openapitools/openapi-generator-cli version-manager set 7.10.0
33
npx @openapitools/openapi-generator-cli generate \
44
-g python \
5-
-i https://raw.githubusercontent.com/flightctl/flightctl/6f52768c6786bef07605a59ad422219181542332/api/v1alpha1/openapi.yaml \
5+
-i https://raw.githubusercontent.com/DakCrowder/flightctl/567ae4dae416eb375c0afac345de1cc9d845ba44/api/v1alpha1/openapi.yaml \
66
-o . \
77
--additional-properties=packageName=flightctl \
88
--git-user-id flightctl \

docs/ConditionType.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,12 @@
55

66
* `APPROVED` (value: `'Approved'`)
77

8-
* `APPROVED` (value: `'Approved'`)
9-
108
* `DENIED` (value: `'Denied'`)
119

1210
* `FAILED` (value: `'Failed'`)
1311

1412
* `ACCESSIBLE` (value: `'Accessible'`)
1513

16-
* `ACCESSIBLE` (value: `'Accessible'`)
17-
1814
* `RESOURCEPARSED` (value: `'ResourceParsed'`)
1915

2016
* `SYNCED` (value: `'Synced'`)

flightctl/models/condition_type.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,9 @@ class ConditionType(str, Enum):
2727
allowed enum values
2828
"""
2929
APPROVED = 'Approved'
30-
APPROVED = 'Approved'
3130
DENIED = 'Denied'
3231
FAILED = 'Failed'
3332
ACCESSIBLE = 'Accessible'
34-
ACCESSIBLE = 'Accessible'
3533
RESOURCEPARSED = 'ResourceParsed'
3634
SYNCED = 'Synced'
3735
OVERLAPPINGSELECTORS = 'OverlappingSelectors'

0 commit comments

Comments
 (0)