Skip to content

Commit

Permalink
Generate ClientCLI for adding new columns in clinical image lib
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnoj Saha authored and Arnoj Saha committed Sep 1, 2023
1 parent efc3ed0 commit c055b1a
Show file tree
Hide file tree
Showing 19 changed files with 65 additions and 78 deletions.
95 changes: 49 additions & 46 deletions openapi/entities.json
Original file line number Diff line number Diff line change
Expand Up @@ -211,14 +211,14 @@
},
"delete": {
"responses": {
"204": {
"description": "No Content"
},
"400": {
"description": "Bad request",
"schema": {
"$ref": "#/definitions/4xxMessage"
}
},
"204": {
"description": "No Content"
}
},
"operationId": "delete_application_specific",
Expand Down Expand Up @@ -401,14 +401,14 @@
},
"delete": {
"responses": {
"204": {
"description": "No Content"
},
"400": {
"description": "Bad request",
"schema": {
"$ref": "#/definitions/4xxMessage"
}
},
"204": {
"description": "No Content"
}
},
"operationId": "delete_epd_site_specific",
Expand Down Expand Up @@ -2095,14 +2095,14 @@
}
}
},
"400": {
"description": "Bad request",
"404": {
"description": "Not found",
"schema": {
"$ref": "#/definitions/4xxMessage"
}
},
"404": {
"description": "Not found",
"400": {
"description": "Bad request",
"schema": {
"$ref": "#/definitions/4xxMessage"
}
Expand Down Expand Up @@ -2250,14 +2250,14 @@
"$ref": "#/definitions/Project"
}
},
"400": {
"description": "Bad request",
"404": {
"description": "Not found",
"schema": {
"$ref": "#/definitions/4xxMessage"
}
},
"404": {
"description": "Not found",
"400": {
"description": "Bad request",
"schema": {
"$ref": "#/definitions/4xxMessage"
}
Expand Down Expand Up @@ -2285,20 +2285,20 @@
},
"delete": {
"responses": {
"204": {
"description": "No Content"
},
"400": {
"description": "Bad request",
"404": {
"description": "Not found",
"schema": {
"$ref": "#/definitions/4xxMessage"
}
},
"404": {
"description": "Not found",
"400": {
"description": "Bad request",
"schema": {
"$ref": "#/definitions/4xxMessage"
}
},
"204": {
"description": "No Content"
}
},
"operationId": "delete_project",
Expand Down Expand Up @@ -2614,14 +2614,14 @@
],
"get": {
"responses": {
"400": {
"description": "Bad request",
"404": {
"description": "Not found",
"schema": {
"$ref": "#/definitions/4xxMessage"
}
},
"404": {
"description": "Not found",
"400": {
"description": "Bad request",
"schema": {
"$ref": "#/definitions/4xxMessage"
}
Expand Down Expand Up @@ -2729,20 +2729,20 @@
],
"delete": {
"responses": {
"204": {
"description": "No Content"
},
"400": {
"description": "Bad request",
"404": {
"description": "Not found",
"schema": {
"$ref": "#/definitions/4xxMessage"
}
},
"404": {
"description": "Not found",
"400": {
"description": "Bad request",
"schema": {
"$ref": "#/definitions/4xxMessage"
}
},
"204": {
"description": "No Content"
}
},
"operationId": "delete_institute",
Expand Down Expand Up @@ -2778,32 +2778,32 @@
],
"get": {
"responses": {
"200": {
"description": "Redirect URL"
},
"302": {
"description": "Redirect"
},
"400": {
"description": "Download expired",
"200": {
"description": "Redirect URL"
},
"404": {
"description": "Not found",
"schema": {
"$ref": "#/definitions/4xxMessage"
}
},
"401": {
"description": "Unauthenticated",
"403": {
"description": "Unauthorized",
"schema": {
"$ref": "#/definitions/4xxMessage"
}
},
"403": {
"description": "Unauthorized",
"401": {
"description": "Unauthenticated",
"schema": {
"$ref": "#/definitions/4xxMessage"
}
},
"404": {
"description": "Not found",
"400": {
"description": "Download expired",
"schema": {
"$ref": "#/definitions/4xxMessage"
}
Expand Down Expand Up @@ -3718,9 +3718,6 @@
"studyComments": {
"type": "string"
},
"comments": {
"type": "string"
},
"studyDate": {
"type": "string",
"format": "date-time"
Expand Down Expand Up @@ -4292,6 +4289,12 @@
},
"modalityVersion": {
"type": "string"
},
"protocolName": {
"type": "string"
},
"studyCategory": {
"type": "string"
}
},
"type": "object"
Expand Down
1 change: 0 additions & 1 deletion src/docs/AnnotationStudy.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ Name | Type | Description | Notes
**state** | **str** | | [optional]
**description** | **str** | | [optional]
**study_comments** | **str** | | [optional]
**comments** | **str** | | [optional]
**study_date** | **datetime** | | [optional]
**accession_number** | **str** | | [optional]
**hospital_id** | **str** | | [optional] [readonly]
Expand Down
1 change: 0 additions & 1 deletion src/docs/BaseStudy.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ Name | Type | Description | Notes
**state** | **str** | | [optional]
**description** | **str** | | [optional]
**study_comments** | **str** | | [optional]
**comments** | **str** | | [optional]
**study_date** | **datetime** | | [optional]
**accession_number** | **str** | | [optional]
**hospital_id** | **str** | | [optional] [readonly]
Expand Down
1 change: 0 additions & 1 deletion src/docs/BaseStudyAllOf.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ Name | Type | Description | Notes
**state** | **str** | | [optional]
**description** | **str** | | [optional]
**study_comments** | **str** | | [optional]
**comments** | **str** | | [optional]
**study_date** | **datetime** | | [optional]
**accession_number** | **str** | | [optional]
**hospital_id** | **str** | | [optional] [readonly]
Expand Down
3 changes: 2 additions & 1 deletion src/docs/ClinicalImageLibraryStudy.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ Name | Type | Description | Notes
**manufacturer** | **str** | | [optional]
**environment** | **str** | | [optional]
**modality_version** | **str** | | [optional]
**protocol_name** | **str** | | [optional]
**study_category** | **str** | | [optional]
**study_database_id** | **str** | | [optional] [readonly]
**institute_id** | **str** | | [optional] [readonly]
**project_id** | **str** | | [optional] [readonly]
Expand All @@ -38,7 +40,6 @@ Name | Type | Description | Notes
**state** | **str** | | [optional]
**description** | **str** | | [optional]
**study_comments** | **str** | | [optional]
**comments** | **str** | | [optional]
**study_date** | **datetime** | | [optional]
**accession_number** | **str** | | [optional]
**hospital_id** | **str** | | [optional] [readonly]
Expand Down
2 changes: 2 additions & 0 deletions src/docs/ClinicalImageLibraryStudyAllOf.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ Name | Type | Description | Notes
**manufacturer** | **str** | | [optional]
**environment** | **str** | | [optional]
**modality_version** | **str** | | [optional]
**protocol_name** | **str** | | [optional]
**study_category** | **str** | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
1 change: 0 additions & 1 deletion src/docs/CoreLabsStudy.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ Name | Type | Description | Notes
**state** | **str** | | [optional]
**description** | **str** | | [optional]
**study_comments** | **str** | | [optional]
**comments** | **str** | | [optional]
**study_date** | **datetime** | | [optional]
**accession_number** | **str** | | [optional]
**hospital_id** | **str** | | [optional] [readonly]
Expand Down
1 change: 0 additions & 1 deletion src/docs/MarvelStudy.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ Name | Type | Description | Notes
**state** | **str** | | [optional]
**description** | **str** | | [optional]
**study_comments** | **str** | | [optional]
**comments** | **str** | | [optional]
**study_date** | **datetime** | | [optional]
**accession_number** | **str** | | [optional]
**hospital_id** | **str** | | [optional] [readonly]
Expand Down
1 change: 0 additions & 1 deletion src/docs/Study.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ Name | Type | Description | Notes
**state** | **str** | | [optional]
**description** | **str** | | [optional]
**study_comments** | **str** | | [optional]
**comments** | **str** | | [optional]
**study_date** | **datetime** | | [optional]
**accession_number** | **str** | | [optional]
**hospital_id** | **str** | | [optional] [readonly]
Expand Down
1 change: 0 additions & 1 deletion src/docs/WeTrustStudy.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ Name | Type | Description | Notes
**state** | **str** | | [optional]
**description** | **str** | | [optional]
**study_comments** | **str** | | [optional]
**comments** | **str** | | [optional]
**study_date** | **datetime** | | [optional]
**accession_number** | **str** | | [optional]
**hospital_id** | **str** | | [optional] [readonly]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ def openapi_types():
'state': (str,), # noqa: E501
'description': (str,), # noqa: E501
'study_comments': (str,), # noqa: E501
'comments': (str,), # noqa: E501
'study_date': (datetime,), # noqa: E501
'accession_number': (str,), # noqa: E501
'hospital_id': (str,), # noqa: E501
Expand Down Expand Up @@ -163,7 +162,6 @@ def discriminator():
'state': 'state', # noqa: E501
'description': 'description', # noqa: E501
'study_comments': 'studyComments', # noqa: E501
'comments': 'comments', # noqa: E501
'study_date': 'studyDate', # noqa: E501
'accession_number': 'accessionNumber', # noqa: E501
'hospital_id': 'hospitalId', # noqa: E501
Expand Down Expand Up @@ -253,7 +251,6 @@ def __init__(self, study_type, *args, **kwargs): # noqa: E501
state (str): [optional] # noqa: E501
description (str): [optional] # noqa: E501
study_comments (str): [optional] # noqa: E501
comments (str): [optional] # noqa: E501
study_date (datetime): [optional] # noqa: E501
accession_number (str): [optional] # noqa: E501
hospital_id (str): [optional] # noqa: E501
Expand Down
3 changes: 0 additions & 3 deletions src/igtcloud/client/services/entities/model/base_study.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ def openapi_types():
'state': (str,), # noqa: E501
'description': (str,), # noqa: E501
'study_comments': (str,), # noqa: E501
'comments': (str,), # noqa: E501
'study_date': (datetime,), # noqa: E501
'accession_number': (str,), # noqa: E501
'hospital_id': (str,), # noqa: E501
Expand Down Expand Up @@ -154,7 +153,6 @@ def discriminator():
'state': 'state', # noqa: E501
'description': 'description', # noqa: E501
'study_comments': 'studyComments', # noqa: E501
'comments': 'comments', # noqa: E501
'study_date': 'studyDate', # noqa: E501
'accession_number': 'accessionNumber', # noqa: E501
'hospital_id': 'hospitalId', # noqa: E501
Expand Down Expand Up @@ -232,7 +230,6 @@ def __init__(self, study_type, *args, **kwargs): # noqa: E501
state (str): [optional] # noqa: E501
description (str): [optional] # noqa: E501
study_comments (str): [optional] # noqa: E501
comments (str): [optional] # noqa: E501
study_date (datetime): [optional] # noqa: E501
accession_number (str): [optional] # noqa: E501
hospital_id (str): [optional] # noqa: E501
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ def openapi_types():
'state': (str,), # noqa: E501
'description': (str,), # noqa: E501
'study_comments': (str,), # noqa: E501
'comments': (str,), # noqa: E501
'study_date': (datetime,), # noqa: E501
'accession_number': (str,), # noqa: E501
'hospital_id': (str,), # noqa: E501
Expand All @@ -101,7 +100,6 @@ def discriminator():
'state': 'state', # noqa: E501
'description': 'description', # noqa: E501
'study_comments': 'studyComments', # noqa: E501
'comments': 'comments', # noqa: E501
'study_date': 'studyDate', # noqa: E501
'accession_number': 'accessionNumber', # noqa: E501
'hospital_id': 'hospitalId', # noqa: E501
Expand Down Expand Up @@ -160,7 +158,6 @@ def __init__(self, *args, **kwargs): # noqa: E501
state (str): [optional] # noqa: E501
description (str): [optional] # noqa: E501
study_comments (str): [optional] # noqa: E501
comments (str): [optional] # noqa: E501
study_date (datetime): [optional] # noqa: E501
accession_number (str): [optional] # noqa: E501
hospital_id (str): [optional] # noqa: E501
Expand Down
Loading

0 comments on commit c055b1a

Please sign in to comment.