From 51b85e6372e5db38c87810150747df4e1f670680 Mon Sep 17 00:00:00 2001 From: Ezequiel Valencia Date: Tue, 14 Jan 2025 12:23:43 -0500 Subject: [PATCH] Clarify Endpoint Function Name Instead of create, its update. --- python-restclient/README.md | 2 +- python-restclient/docs/BioModelResourceApi.md | 2 +- .../docs/PublicationResourceApi.md | 6 +-- .../docs/SimulationResourceApi.md | 6 +-- python-restclient/docs/UsersResourceApi.md | 12 ++--- .../api/bio_model_resource_api.py | 12 ++--- .../api/publication_resource_api.py | 6 +-- .../api/simulation_resource_api.py | 36 +++++++------- .../vcell_client/api/users_resource_api.py | 48 +++++++++---------- tools/openapi.yaml | 42 ++++++++-------- vcell-restclient/README.md | 4 +- vcell-restclient/api/openapi.yaml | 42 ++++++++-------- vcell-restclient/docs/BioModelResourceApi.md | 4 +- .../docs/PublicationResourceApi.md | 8 ++-- .../docs/SimulationResourceApi.md | 12 ++--- vcell-restclient/docs/UsersResourceApi.md | 24 +++++----- .../api/PublicationResourceApi.java | 4 +- .../api/publication-resource.service.ts | 2 +- .../publication-resource.serviceInterface.ts | 2 +- 19 files changed, 137 insertions(+), 137 deletions(-) diff --git a/python-restclient/README.md b/python-restclient/README.md index 835d131595..3b08edf14d 100644 --- a/python-restclient/README.md +++ b/python-restclient/README.md @@ -99,7 +99,7 @@ Class | Method | HTTP request | Description *PublicationResourceApi* | [**delete_publication**](docs/PublicationResourceApi.md#delete_publication) | **DELETE** /api/v1/publications/{id} | Delete publication *PublicationResourceApi* | [**get_publication_by_id**](docs/PublicationResourceApi.md#get_publication_by_id) | **GET** /api/v1/publications/{id} | Get publication by ID *PublicationResourceApi* | [**get_publications**](docs/PublicationResourceApi.md#get_publications) | **GET** /api/v1/publications | Get all publications -*PublicationResourceApi* | [**update_publication**](docs/PublicationResourceApi.md#update_publication) | **PUT** /api/v1/publications | Create publication +*PublicationResourceApi* | [**update_publication**](docs/PublicationResourceApi.md#update_publication) | **PUT** /api/v1/publications | Update publication *SimulationResourceApi* | [**get_simulation_status**](docs/SimulationResourceApi.md#get_simulation_status) | **GET** /api/v1/Simulation/{simID}/simulationStatus | Get the status of simulation running *SimulationResourceApi* | [**start_simulation**](docs/SimulationResourceApi.md#start_simulation) | **POST** /api/v1/Simulation/{simID}/startSimulation | Start a simulation. *SimulationResourceApi* | [**stop_simulation**](docs/SimulationResourceApi.md#stop_simulation) | **POST** /api/v1/Simulation/{simID}/stopSimulation | Stop a simulation. diff --git a/python-restclient/docs/BioModelResourceApi.md b/python-restclient/docs/BioModelResourceApi.md index 7fb0b2e4b9..3e3f9a9ee9 100644 --- a/python-restclient/docs/BioModelResourceApi.md +++ b/python-restclient/docs/BioModelResourceApi.md @@ -202,8 +202,8 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | -**401** | Not Authorized | - | **403** | Not Allowed | - | +**401** | Not Authorized | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/python-restclient/docs/PublicationResourceApi.md b/python-restclient/docs/PublicationResourceApi.md index c9107be79c..bb714d1328 100644 --- a/python-restclient/docs/PublicationResourceApi.md +++ b/python-restclient/docs/PublicationResourceApi.md @@ -8,7 +8,7 @@ Method | HTTP request | Description [**delete_publication**](PublicationResourceApi.md#delete_publication) | **DELETE** /api/v1/publications/{id} | Delete publication [**get_publication_by_id**](PublicationResourceApi.md#get_publication_by_id) | **GET** /api/v1/publications/{id} | Get publication by ID [**get_publications**](PublicationResourceApi.md#get_publications) | **GET** /api/v1/publications | Get all publications -[**update_publication**](PublicationResourceApi.md#update_publication) | **PUT** /api/v1/publications | Create publication +[**update_publication**](PublicationResourceApi.md#update_publication) | **PUT** /api/v1/publications | Update publication # **create_publication** @@ -267,7 +267,7 @@ No authorization required # **update_publication** > Publication update_publication(publication=publication) -Create publication +Update publication ### Example @@ -293,7 +293,7 @@ with vcell_client.ApiClient(configuration) as api_client: publication = vcell_client.Publication() # Publication | (optional) try: - # Create publication + # Update publication api_response = api_instance.update_publication(publication=publication) print("The response of PublicationResourceApi->update_publication:\n") pprint(api_response) diff --git a/python-restclient/docs/SimulationResourceApi.md b/python-restclient/docs/SimulationResourceApi.md index 6d8316759f..6ff98f6be7 100644 --- a/python-restclient/docs/SimulationResourceApi.md +++ b/python-restclient/docs/SimulationResourceApi.md @@ -79,8 +79,8 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | -**401** | Not Authorized | - | **403** | Not Allowed | - | +**401** | Not Authorized | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -150,8 +150,8 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | -**401** | Not Authorized | - | **403** | Not Allowed | - | +**401** | Not Authorized | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -221,8 +221,8 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | -**401** | Not Authorized | - | **403** | Not Allowed | - | +**401** | Not Authorized | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/python-restclient/docs/UsersResourceApi.md b/python-restclient/docs/UsersResourceApi.md index 4260e1d68a..c43e72100f 100644 --- a/python-restclient/docs/UsersResourceApi.md +++ b/python-restclient/docs/UsersResourceApi.md @@ -208,8 +208,8 @@ This endpoint does not need any parameter. | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | -**401** | Not Authorized | - | **403** | Not Allowed | - | +**401** | Not Authorized | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -275,8 +275,8 @@ This endpoint does not need any parameter. | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | Successful, returning the identity | - | -**401** | Not Authorized | - | **403** | Not Allowed | - | +**401** | Not Authorized | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -406,8 +406,8 @@ void (empty response body) |-------------|-------------|------------------| **200** | Successful, returning the identity | - | **409** | VCell Identity not mapped, userid already exists | - | -**401** | Not Authorized | - | **403** | Not Allowed | - | +**401** | Not Authorized | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -477,8 +477,8 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | -**401** | Not Authorized | - | **403** | Not Allowed | - | +**401** | Not Authorized | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -611,8 +611,8 @@ void (empty response body) |-------------|-------------|------------------| **200** | magic link sent in email if appropriate | - | **400** | unable to process request | - | -**401** | Not Authorized | - | **403** | Not Allowed | - | +**401** | Not Authorized | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) @@ -681,8 +681,8 @@ Name | Type | Description | Notes | Status code | Description | Response headers | |-------------|-------------|------------------| **200** | OK | - | -**401** | Not Authorized | - | **403** | Not Allowed | - | +**401** | Not Authorized | - | [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) diff --git a/python-restclient/vcell_client/api/bio_model_resource_api.py b/python-restclient/vcell_client/api/bio_model_resource_api.py index c31ac2bb00..adbb65b599 100644 --- a/python-restclient/vcell_client/api/bio_model_resource_api.py +++ b/python-restclient/vcell_client/api/bio_model_resource_api.py @@ -612,8 +612,8 @@ def upload_bio_model( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - '401': None, - '403': None + '403': None, + '401': None } response_data = self.api_client.call_api( @@ -681,8 +681,8 @@ def upload_bio_model_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - '401': None, - '403': None + '403': None, + '401': None } response_data = self.api_client.call_api( @@ -750,8 +750,8 @@ def upload_bio_model_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - '401': None, - '403': None + '403': None, + '401': None } response_data = self.api_client.call_api( diff --git a/python-restclient/vcell_client/api/publication_resource_api.py b/python-restclient/vcell_client/api/publication_resource_api.py index da06636372..d04919de01 100644 --- a/python-restclient/vcell_client/api/publication_resource_api.py +++ b/python-restclient/vcell_client/api/publication_resource_api.py @@ -1086,7 +1086,7 @@ def update_publication( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> Publication: - """Create publication + """Update publication :param publication: @@ -1153,7 +1153,7 @@ def update_publication_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[Publication]: - """Create publication + """Update publication :param publication: @@ -1220,7 +1220,7 @@ def update_publication_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Create publication + """Update publication :param publication: diff --git a/python-restclient/vcell_client/api/simulation_resource_api.py b/python-restclient/vcell_client/api/simulation_resource_api.py index 1d2f938779..0cc5e36691 100644 --- a/python-restclient/vcell_client/api/simulation_resource_api.py +++ b/python-restclient/vcell_client/api/simulation_resource_api.py @@ -111,8 +111,8 @@ def get_simulation_status( _response_types_map: Dict[str, Optional[str]] = { '200': "SimulationStatusPersistentRecord", - '401': None, - '403': None + '403': None, + '401': None } response_data = self.api_client.call_api( @@ -188,8 +188,8 @@ def get_simulation_status_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "SimulationStatusPersistentRecord", - '401': None, - '403': None + '403': None, + '401': None } response_data = self.api_client.call_api( @@ -265,8 +265,8 @@ def get_simulation_status_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "SimulationStatusPersistentRecord", - '401': None, - '403': None + '403': None, + '401': None } response_data = self.api_client.call_api( @@ -402,8 +402,8 @@ def start_simulation( _response_types_map: Dict[str, Optional[str]] = { '200': "List[StatusMessage]", - '401': None, - '403': None + '403': None, + '401': None } response_data = self.api_client.call_api( @@ -471,8 +471,8 @@ def start_simulation_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "List[StatusMessage]", - '401': None, - '403': None + '403': None, + '401': None } response_data = self.api_client.call_api( @@ -540,8 +540,8 @@ def start_simulation_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "List[StatusMessage]", - '401': None, - '403': None + '403': None, + '401': None } response_data = self.api_client.call_api( @@ -667,8 +667,8 @@ def stop_simulation( _response_types_map: Dict[str, Optional[str]] = { '200': "List[StatusMessage]", - '401': None, - '403': None + '403': None, + '401': None } response_data = self.api_client.call_api( @@ -736,8 +736,8 @@ def stop_simulation_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "List[StatusMessage]", - '401': None, - '403': None + '403': None, + '401': None } response_data = self.api_client.call_api( @@ -805,8 +805,8 @@ def stop_simulation_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "List[StatusMessage]", - '401': None, - '403': None + '403': None, + '401': None } response_data = self.api_client.call_api( diff --git a/python-restclient/vcell_client/api/users_resource_api.py b/python-restclient/vcell_client/api/users_resource_api.py index 4cf7621633..77b2e2ff5f 100644 --- a/python-restclient/vcell_client/api/users_resource_api.py +++ b/python-restclient/vcell_client/api/users_resource_api.py @@ -597,8 +597,8 @@ def get_legacy_api_token( _response_types_map: Dict[str, Optional[str]] = { '200': "AccesTokenRepresentationRecord", - '401': None, - '403': None + '403': None, + '401': None } response_data = self.api_client.call_api( @@ -662,8 +662,8 @@ def get_legacy_api_token_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "AccesTokenRepresentationRecord", - '401': None, - '403': None + '403': None, + '401': None } response_data = self.api_client.call_api( @@ -727,8 +727,8 @@ def get_legacy_api_token_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "AccesTokenRepresentationRecord", - '401': None, - '403': None + '403': None, + '401': None } response_data = self.api_client.call_api( @@ -847,8 +847,8 @@ def get_mapped_user( _response_types_map: Dict[str, Optional[str]] = { '200': "UserIdentityJSONSafe", - '401': None, - '403': None + '403': None, + '401': None } response_data = self.api_client.call_api( @@ -912,8 +912,8 @@ def get_mapped_user_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "UserIdentityJSONSafe", - '401': None, - '403': None + '403': None, + '401': None } response_data = self.api_client.call_api( @@ -977,8 +977,8 @@ def get_mapped_user_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "UserIdentityJSONSafe", - '401': None, - '403': None + '403': None, + '401': None } response_data = self.api_client.call_api( @@ -1607,8 +1607,8 @@ def map_user( _response_types_map: Dict[str, Optional[str]] = { '200': "bool", - '401': None, - '403': None + '403': None, + '401': None } response_data = self.api_client.call_api( @@ -1676,8 +1676,8 @@ def map_user_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "bool", - '401': None, - '403': None + '403': None, + '401': None } response_data = self.api_client.call_api( @@ -1745,8 +1745,8 @@ def map_user_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "bool", - '401': None, - '403': None + '403': None, + '401': None } response_data = self.api_client.call_api( @@ -2405,8 +2405,8 @@ def unmap_user( _response_types_map: Dict[str, Optional[str]] = { '200': "bool", - '401': None, - '403': None + '403': None, + '401': None } response_data = self.api_client.call_api( @@ -2474,8 +2474,8 @@ def unmap_user_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "bool", - '401': None, - '403': None + '403': None, + '401': None } response_data = self.api_client.call_api( @@ -2543,8 +2543,8 @@ def unmap_user_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "bool", - '401': None, - '403': None + '403': None, + '401': None } response_data = self.api_client.call_api( diff --git a/tools/openapi.yaml b/tools/openapi.yaml index 8dc97abffb..c3a7d3c0ef 100644 --- a/tools/openapi.yaml +++ b/tools/openapi.yaml @@ -42,10 +42,10 @@ paths: application/json: schema: $ref: '#/components/schemas/SimulationStatusPersistentRecord' - "401": - description: Not Authorized "403": description: Not Allowed + "401": + description: Not Authorized security: - openId: - user @@ -70,10 +70,10 @@ paths: type: array items: $ref: '#/components/schemas/StatusMessage' - "401": - description: Not Authorized "403": description: Not Allowed + "401": + description: Not Authorized security: - openId: - user @@ -98,10 +98,10 @@ paths: type: array items: $ref: '#/components/schemas/StatusMessage' - "401": - description: Not Authorized "403": description: Not Allowed + "401": + description: Not Authorized security: - openId: - user @@ -137,10 +137,10 @@ paths: text/plain: schema: type: string - "401": - description: Not Authorized "403": description: Not Allowed + "401": + description: Not Authorized security: - openId: - user @@ -304,7 +304,7 @@ paths: put: tags: - Publication Resource - summary: Create publication + summary: Update publication operationId: updatePublication requestBody: content: @@ -384,10 +384,10 @@ paths: application/json: schema: $ref: '#/components/schemas/AccesTokenRepresentationRecord' - "401": - description: Not Authorized "403": description: Not Allowed + "401": + description: Not Authorized security: - openId: - user @@ -446,10 +446,10 @@ paths: application/json: schema: type: boolean - "401": - description: Not Authorized "403": description: Not Allowed + "401": + description: Not Authorized security: - openId: - user @@ -466,10 +466,10 @@ paths: application/json: schema: $ref: '#/components/schemas/UserIdentityJSONSafe' - "401": - description: Not Authorized "403": description: Not Allowed + "401": + description: Not Authorized security: - openId: - user @@ -502,10 +502,10 @@ paths: description: "Successful, returning the identity" "409": description: "VCell Identity not mapped, userid already exists" - "401": - description: Not Authorized "403": description: Not Allowed + "401": + description: Not Authorized security: - openId: - user @@ -545,10 +545,10 @@ paths: description: magic link sent in email if appropriate "400": description: unable to process request - "401": - description: Not Authorized "403": description: Not Allowed + "401": + description: Not Authorized security: - openId: - user @@ -571,10 +571,10 @@ paths: application/json: schema: type: boolean - "401": - description: Not Authorized "403": description: Not Allowed + "401": + description: Not Authorized security: - openId: - user diff --git a/vcell-restclient/README.md b/vcell-restclient/README.md index 5a04f9aa2b..31c8509ab5 100644 --- a/vcell-restclient/README.md +++ b/vcell-restclient/README.md @@ -133,8 +133,8 @@ Class | Method | HTTP request | Description *PublicationResourceApi* | [**getPublicationByIdWithHttpInfo**](docs/PublicationResourceApi.md#getPublicationByIdWithHttpInfo) | **GET** /api/v1/publications/{id} | Get publication by ID *PublicationResourceApi* | [**getPublications**](docs/PublicationResourceApi.md#getPublications) | **GET** /api/v1/publications | Get all publications *PublicationResourceApi* | [**getPublicationsWithHttpInfo**](docs/PublicationResourceApi.md#getPublicationsWithHttpInfo) | **GET** /api/v1/publications | Get all publications -*PublicationResourceApi* | [**updatePublication**](docs/PublicationResourceApi.md#updatePublication) | **PUT** /api/v1/publications | Create publication -*PublicationResourceApi* | [**updatePublicationWithHttpInfo**](docs/PublicationResourceApi.md#updatePublicationWithHttpInfo) | **PUT** /api/v1/publications | Create publication +*PublicationResourceApi* | [**updatePublication**](docs/PublicationResourceApi.md#updatePublication) | **PUT** /api/v1/publications | Update publication +*PublicationResourceApi* | [**updatePublicationWithHttpInfo**](docs/PublicationResourceApi.md#updatePublicationWithHttpInfo) | **PUT** /api/v1/publications | Update publication *SimulationResourceApi* | [**getSimulationStatus**](docs/SimulationResourceApi.md#getSimulationStatus) | **GET** /api/v1/Simulation/{simID}/simulationStatus | Get the status of simulation running *SimulationResourceApi* | [**getSimulationStatusWithHttpInfo**](docs/SimulationResourceApi.md#getSimulationStatusWithHttpInfo) | **GET** /api/v1/Simulation/{simID}/simulationStatus | Get the status of simulation running *SimulationResourceApi* | [**startSimulation**](docs/SimulationResourceApi.md#startSimulation) | **POST** /api/v1/Simulation/{simID}/startSimulation | Start a simulation. diff --git a/vcell-restclient/api/openapi.yaml b/vcell-restclient/api/openapi.yaml index f75ef73ca8..2dd16e421d 100644 --- a/vcell-restclient/api/openapi.yaml +++ b/vcell-restclient/api/openapi.yaml @@ -46,10 +46,10 @@ paths: schema: $ref: '#/components/schemas/SimulationStatusPersistentRecord' description: OK - "401": - description: Not Authorized "403": description: Not Allowed + "401": + description: Not Authorized security: - openId: - user @@ -77,10 +77,10 @@ paths: $ref: '#/components/schemas/StatusMessage' type: array description: OK - "401": - description: Not Authorized "403": description: Not Allowed + "401": + description: Not Authorized security: - openId: - user @@ -108,10 +108,10 @@ paths: $ref: '#/components/schemas/StatusMessage' type: array description: OK - "401": - description: Not Authorized "403": description: Not Allowed + "401": + description: Not Authorized security: - openId: - user @@ -149,10 +149,10 @@ paths: schema: type: string description: OK - "401": - description: Not Authorized "403": description: Not Allowed + "401": + description: Not Authorized security: - openId: - user @@ -365,7 +365,7 @@ paths: schema: $ref: '#/components/schemas/Publication' description: OK - summary: Create publication + summary: Update publication tags: - Publication Resource x-content-type: application/json @@ -421,10 +421,10 @@ paths: schema: $ref: '#/components/schemas/AccesTokenRepresentationRecord' description: OK - "401": - description: Not Authorized "403": description: Not Allowed + "401": + description: Not Authorized security: - openId: - user @@ -489,10 +489,10 @@ paths: schema: type: boolean description: OK - "401": - description: Not Authorized "403": description: Not Allowed + "401": + description: Not Authorized security: - openId: - user @@ -511,10 +511,10 @@ paths: schema: $ref: '#/components/schemas/UserIdentityJSONSafe' description: "Successful, returning the identity" - "401": - description: Not Authorized "403": description: Not Allowed + "401": + description: Not Authorized security: - openId: - user @@ -549,10 +549,10 @@ paths: description: "Successful, returning the identity" "409": description: "VCell Identity not mapped, userid already exists" - "401": - description: Not Authorized "403": description: Not Allowed + "401": + description: Not Authorized security: - openId: - user @@ -604,10 +604,10 @@ paths: description: magic link sent in email if appropriate "400": description: unable to process request - "401": - description: Not Authorized "403": description: Not Allowed + "401": + description: Not Authorized security: - openId: - user @@ -633,10 +633,10 @@ paths: schema: type: boolean description: OK - "401": - description: Not Authorized "403": description: Not Allowed + "401": + description: Not Authorized security: - openId: - user diff --git a/vcell-restclient/docs/BioModelResourceApi.md b/vcell-restclient/docs/BioModelResourceApi.md index b2569706e5..c8041e9297 100644 --- a/vcell-restclient/docs/BioModelResourceApi.md +++ b/vcell-restclient/docs/BioModelResourceApi.md @@ -337,8 +337,8 @@ public class Example { | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | OK | - | -| **401** | Not Authorized | - | | **403** | Not Allowed | - | +| **401** | Not Authorized | - | ## uploadBioModelWithHttpInfo @@ -407,6 +407,6 @@ ApiResponse<**String**> | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | OK | - | -| **401** | Not Authorized | - | | **403** | Not Allowed | - | +| **401** | Not Authorized | - | diff --git a/vcell-restclient/docs/PublicationResourceApi.md b/vcell-restclient/docs/PublicationResourceApi.md index 421071502d..edc9f9e261 100644 --- a/vcell-restclient/docs/PublicationResourceApi.md +++ b/vcell-restclient/docs/PublicationResourceApi.md @@ -12,8 +12,8 @@ All URIs are relative to *https://vcell-dev.cam.uchc.edu* | [**getPublicationByIdWithHttpInfo**](PublicationResourceApi.md#getPublicationByIdWithHttpInfo) | **GET** /api/v1/publications/{id} | Get publication by ID | | [**getPublications**](PublicationResourceApi.md#getPublications) | **GET** /api/v1/publications | Get all publications | | [**getPublicationsWithHttpInfo**](PublicationResourceApi.md#getPublicationsWithHttpInfo) | **GET** /api/v1/publications | Get all publications | -| [**updatePublication**](PublicationResourceApi.md#updatePublication) | **PUT** /api/v1/publications | Create publication | -| [**updatePublicationWithHttpInfo**](PublicationResourceApi.md#updatePublicationWithHttpInfo) | **PUT** /api/v1/publications | Create publication | +| [**updatePublication**](PublicationResourceApi.md#updatePublication) | **PUT** /api/v1/publications | Update publication | +| [**updatePublicationWithHttpInfo**](PublicationResourceApi.md#updatePublicationWithHttpInfo) | **PUT** /api/v1/publications | Update publication | @@ -531,7 +531,7 @@ No authorization required > Publication updatePublication(publication) -Create publication +Update publication ### Example @@ -594,7 +594,7 @@ No authorization required > ApiResponse updatePublication updatePublicationWithHttpInfo(publication) -Create publication +Update publication ### Example diff --git a/vcell-restclient/docs/SimulationResourceApi.md b/vcell-restclient/docs/SimulationResourceApi.md index 1b3a3c3c5e..934d319186 100644 --- a/vcell-restclient/docs/SimulationResourceApi.md +++ b/vcell-restclient/docs/SimulationResourceApi.md @@ -81,8 +81,8 @@ public class Example { | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | OK | - | -| **401** | Not Authorized | - | | **403** | Not Allowed | - | +| **401** | Not Authorized | - | ## getSimulationStatusWithHttpInfo @@ -155,8 +155,8 @@ ApiResponse<[**SimulationStatusPersistentRecord**](SimulationStatusPersistentRec | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | OK | - | -| **401** | Not Authorized | - | | **403** | Not Allowed | - | +| **401** | Not Authorized | - | ## startSimulation @@ -223,8 +223,8 @@ public class Example { | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | OK | - | -| **401** | Not Authorized | - | | **403** | Not Allowed | - | +| **401** | Not Authorized | - | ## startSimulationWithHttpInfo @@ -293,8 +293,8 @@ ApiResponse<[**List<StatusMessage>**](StatusMessage.md)> | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | OK | - | -| **401** | Not Authorized | - | | **403** | Not Allowed | - | +| **401** | Not Authorized | - | ## stopSimulation @@ -361,8 +361,8 @@ public class Example { | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | OK | - | -| **401** | Not Authorized | - | | **403** | Not Allowed | - | +| **401** | Not Authorized | - | ## stopSimulationWithHttpInfo @@ -431,6 +431,6 @@ ApiResponse<[**List<StatusMessage>**](StatusMessage.md)> | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | OK | - | -| **401** | Not Authorized | - | | **403** | Not Allowed | - | +| **401** | Not Authorized | - | diff --git a/vcell-restclient/docs/UsersResourceApi.md b/vcell-restclient/docs/UsersResourceApi.md index 831c4b98c6..d265979677 100644 --- a/vcell-restclient/docs/UsersResourceApi.md +++ b/vcell-restclient/docs/UsersResourceApi.md @@ -347,8 +347,8 @@ This endpoint does not need any parameter. | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | OK | - | -| **401** | Not Authorized | - | | **403** | Not Allowed | - | +| **401** | Not Authorized | - | ## getLegacyApiTokenWithHttpInfo @@ -413,8 +413,8 @@ ApiResponse<[**AccesTokenRepresentationRecord**](AccesTokenRepresentationRecord. | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | OK | - | -| **401** | Not Authorized | - | | **403** | Not Allowed | - | +| **401** | Not Authorized | - | ## getMappedUser @@ -477,8 +477,8 @@ This endpoint does not need any parameter. | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | Successful, returning the identity | - | -| **401** | Not Authorized | - | | **403** | Not Allowed | - | +| **401** | Not Authorized | - | ## getMappedUserWithHttpInfo @@ -543,8 +543,8 @@ ApiResponse<[**UserIdentityJSONSafe**](UserIdentityJSONSafe.md)> | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | Successful, returning the identity | - | -| **401** | Not Authorized | - | | **403** | Not Allowed | - | +| **401** | Not Authorized | - | ## getMe @@ -733,8 +733,8 @@ null (empty response body) |-------------|-------------|------------------| | **200** | Successful, returning the identity | - | | **409** | VCell Identity not mapped, userid already exists | - | -| **401** | Not Authorized | - | | **403** | Not Allowed | - | +| **401** | Not Authorized | - | ## mapNewUserWithHttpInfo @@ -803,8 +803,8 @@ ApiResponse |-------------|-------------|------------------| | **200** | Successful, returning the identity | - | | **409** | VCell Identity not mapped, userid already exists | - | -| **401** | Not Authorized | - | | **403** | Not Allowed | - | +| **401** | Not Authorized | - | ## mapUser @@ -871,8 +871,8 @@ public class Example { | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | OK | - | -| **401** | Not Authorized | - | | **403** | Not Allowed | - | +| **401** | Not Authorized | - | ## mapUserWithHttpInfo @@ -941,8 +941,8 @@ ApiResponse<**Boolean**> | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | OK | - | -| **401** | Not Authorized | - | | **403** | Not Allowed | - | +| **401** | Not Authorized | - | ## processMagicLink @@ -1141,8 +1141,8 @@ null (empty response body) |-------------|-------------|------------------| | **200** | magic link sent in email if appropriate | - | | **400** | unable to process request | - | -| **401** | Not Authorized | - | | **403** | Not Allowed | - | +| **401** | Not Authorized | - | ## requestRecoveryEmailWithHttpInfo @@ -1213,8 +1213,8 @@ ApiResponse |-------------|-------------|------------------| | **200** | magic link sent in email if appropriate | - | | **400** | unable to process request | - | -| **401** | Not Authorized | - | | **403** | Not Allowed | - | +| **401** | Not Authorized | - | ## unmapUser @@ -1281,8 +1281,8 @@ public class Example { | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | OK | - | -| **401** | Not Authorized | - | | **403** | Not Allowed | - | +| **401** | Not Authorized | - | ## unmapUserWithHttpInfo @@ -1351,6 +1351,6 @@ ApiResponse<**Boolean**> | Status code | Description | Response headers | |-------------|-------------|------------------| | **200** | OK | - | -| **401** | Not Authorized | - | | **403** | Not Allowed | - | +| **401** | Not Authorized | - | diff --git a/vcell-restclient/src/main/java/org/vcell/restclient/api/PublicationResourceApi.java b/vcell-restclient/src/main/java/org/vcell/restclient/api/PublicationResourceApi.java index 14d9359f37..04b1ef5989 100644 --- a/vcell-restclient/src/main/java/org/vcell/restclient/api/PublicationResourceApi.java +++ b/vcell-restclient/src/main/java/org/vcell/restclient/api/PublicationResourceApi.java @@ -373,7 +373,7 @@ private HttpRequest.Builder getPublicationsRequestBuilder() throws ApiException return localVarRequestBuilder; } /** - * Create publication + * Update publication * * @param publication (optional) * @return Publication @@ -385,7 +385,7 @@ public Publication updatePublication(Publication publication) throws ApiExceptio } /** - * Create publication + * Update publication * * @param publication (optional) * @return ApiResponse<Publication> diff --git a/webapp-ng/src/app/core/modules/openapi/api/publication-resource.service.ts b/webapp-ng/src/app/core/modules/openapi/api/publication-resource.service.ts index 35f79327f7..79355b05b1 100644 --- a/webapp-ng/src/app/core/modules/openapi/api/publication-resource.service.ts +++ b/webapp-ng/src/app/core/modules/openapi/api/publication-resource.service.ts @@ -329,7 +329,7 @@ export class PublicationResourceService implements PublicationResourceServiceInt } /** - * Create publication + * Update publication * @param publication * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. diff --git a/webapp-ng/src/app/core/modules/openapi/api/publication-resource.serviceInterface.ts b/webapp-ng/src/app/core/modules/openapi/api/publication-resource.serviceInterface.ts index 5ea6e95d28..53ef88d018 100644 --- a/webapp-ng/src/app/core/modules/openapi/api/publication-resource.serviceInterface.ts +++ b/webapp-ng/src/app/core/modules/openapi/api/publication-resource.serviceInterface.ts @@ -52,7 +52,7 @@ export interface PublicationResourceServiceInterface { getPublications(extraHttpRequestParams?: any): Observable>; /** - * Create publication + * Update publication * * @param publication */