Skip to content

Commit ce79ba8

Browse files
committed
fix: Schema ApiJiraConfigurationDTO had incorrect definition for password
Signed-off-by: Paul Horton <[email protected]>
1 parent 64d7d47 commit ce79ba8

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

spec/openapi.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -909,9 +909,7 @@ components:
909909
type: object
910910
type: object
911911
password:
912-
items:
913-
type: string
914-
type: array
912+
type: string
915913
url:
916914
type: string
917915
username:

update-spec.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,5 +382,10 @@
382382
'type': 'string'
383383
}
384384

385+
print('Correct schema ApiJiraConfigurationDTO...')
386+
json_spec['components']['schemas']['ApiJiraConfigurationDTO']['properties']['password'] = {
387+
'type': 'string'
388+
}
389+
385390
with open('./spec/openapi.yaml', 'w') as output_yaml_specfile:
386391
output_yaml_specfile.write(yaml_dump(json_spec))

0 commit comments

Comments
 (0)