diff --git a/devolutions-gateway/openapi/doc/index.adoc b/devolutions-gateway/openapi/doc/index.adoc index 10ab3a1a0..33101edf7 100644 --- a/devolutions-gateway/openapi/doc/index.adoc +++ b/devolutions-gateway/openapi/doc/index.adoc @@ -528,7 +528,7 @@ endif::internal-generation[] `DELETE /jet/jrec/delete/{id}` -Lists all recordings stored on this instance +Deletes a recording stored on this instance ===== Description diff --git a/devolutions-gateway/openapi/dotnet-client/README.md b/devolutions-gateway/openapi/dotnet-client/README.md index 111d7bdda..03bf01949 100644 --- a/devolutions-gateway/openapi/dotnet-client/README.md +++ b/devolutions-gateway/openapi/dotnet-client/README.md @@ -147,7 +147,7 @@ Class | Method | HTTP request | Description *DiagnosticsApi* | [**GetLogs**](docs/DiagnosticsApi.md#getlogs) | **GET** /jet/diagnostics/logs | Retrieves latest logs. *HealthApi* | [**GetHealth**](docs/HealthApi.md#gethealth) | **GET** /jet/health | Performs a health check *HeartbeatApi* | [**GetHeartbeat**](docs/HeartbeatApi.md#getheartbeat) | **GET** /jet/heartbeat | Performs a heartbeat check -*JrecApi* | [**DeleteRecording**](docs/JrecApi.md#deleterecording) | **DELETE** /jet/jrec/delete/{id} | Lists all recordings stored on this instance +*JrecApi* | [**DeleteRecording**](docs/JrecApi.md#deleterecording) | **DELETE** /jet/jrec/delete/{id} | Deletes a recording stored on this instance *JrecApi* | [**ListRecordings**](docs/JrecApi.md#listrecordings) | **GET** /jet/jrec/list | Lists all recordings stored on this instance *JrecApi* | [**PullRecordingFile**](docs/JrecApi.md#pullrecordingfile) | **GET** /jet/jrec/pull/{id}/{filename} | Retrieves a recording file for a given session *JrlApi* | [**GetJrlInfo**](docs/JrlApi.md#getjrlinfo) | **GET** /jet/jrl/info | Retrieves current JRL (Json Revocation List) info diff --git a/devolutions-gateway/openapi/dotnet-client/docs/JrecApi.md b/devolutions-gateway/openapi/dotnet-client/docs/JrecApi.md index 730deffb1..f5e069a3e 100644 --- a/devolutions-gateway/openapi/dotnet-client/docs/JrecApi.md +++ b/devolutions-gateway/openapi/dotnet-client/docs/JrecApi.md @@ -4,7 +4,7 @@ All URIs are relative to *http://localhost* | Method | HTTP request | Description | |--------|--------------|-------------| -| [**DeleteRecording**](JrecApi.md#deleterecording) | **DELETE** /jet/jrec/delete/{id} | Lists all recordings stored on this instance | +| [**DeleteRecording**](JrecApi.md#deleterecording) | **DELETE** /jet/jrec/delete/{id} | Deletes a recording stored on this instance | | [**ListRecordings**](JrecApi.md#listrecordings) | **GET** /jet/jrec/list | Lists all recordings stored on this instance | | [**PullRecordingFile**](JrecApi.md#pullrecordingfile) | **GET** /jet/jrec/pull/{id}/{filename} | Retrieves a recording file for a given session | @@ -12,7 +12,7 @@ All URIs are relative to *http://localhost* # **DeleteRecording** > void DeleteRecording (Guid id) -Lists all recordings stored on this instance +Deletes a recording stored on this instance ### Example ```csharp @@ -42,7 +42,7 @@ namespace Example try { - // Lists all recordings stored on this instance + // Deletes a recording stored on this instance apiInstance.DeleteRecording(id); } catch (ApiException e) @@ -62,7 +62,7 @@ This returns an ApiResponse object which contains the response data, status code ```csharp try { - // Lists all recordings stored on this instance + // Deletes a recording stored on this instance apiInstance.DeleteRecordingWithHttpInfo(id); } catch (ApiException e) diff --git a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Api/JrecApi.cs b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Api/JrecApi.cs index cd46082fa..7b9d840c0 100644 --- a/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Api/JrecApi.cs +++ b/devolutions-gateway/openapi/dotnet-client/src/Devolutions.Gateway.Client/Api/JrecApi.cs @@ -29,7 +29,7 @@ public interface IJrecApiSync : IApiAccessor { #region Synchronous Operations /// - /// Lists all recordings stored on this instance + /// Deletes a recording stored on this instance /// /// Thrown when fails to make API call /// Recorded session ID @@ -37,7 +37,7 @@ public interface IJrecApiSync : IApiAccessor void DeleteRecording(Guid id); /// - /// Lists all recordings stored on this instance + /// Deletes a recording stored on this instance /// /// /// @@ -92,7 +92,7 @@ public interface IJrecApiAsync : IApiAccessor { #region Asynchronous Operations /// - /// Lists all recordings stored on this instance + /// Deletes a recording stored on this instance /// /// /// @@ -104,7 +104,7 @@ public interface IJrecApiAsync : IApiAccessor System.Threading.Tasks.Task DeleteRecordingAsync(Guid id, System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken)); /// - /// Lists all recordings stored on this instance + /// Deletes a recording stored on this instance /// /// /// @@ -374,7 +374,7 @@ public Devolutions.Gateway.Client.Client.ExceptionFactory ExceptionFactory } /// - /// Lists all recordings stored on this instance + /// Deletes a recording stored on this instance /// /// Thrown when fails to make API call /// Recorded session ID @@ -385,7 +385,7 @@ public void DeleteRecording(Guid id) } /// - /// Lists all recordings stored on this instance + /// Deletes a recording stored on this instance /// /// Thrown when fails to make API call /// Recorded session ID @@ -429,7 +429,7 @@ public Devolutions.Gateway.Client.Client.ApiResponse DeleteRecordingWith } /// - /// Lists all recordings stored on this instance + /// Deletes a recording stored on this instance /// /// Thrown when fails to make API call /// Recorded session ID @@ -441,7 +441,7 @@ public Devolutions.Gateway.Client.Client.ApiResponse DeleteRecordingWith } /// - /// Lists all recordings stored on this instance + /// Deletes a recording stored on this instance /// /// Thrown when fails to make API call /// Recorded session ID diff --git a/devolutions-gateway/openapi/gateway-api.yaml b/devolutions-gateway/openapi/gateway-api.yaml index 5842c44cb..9be1fb809 100644 --- a/devolutions-gateway/openapi/gateway-api.yaml +++ b/devolutions-gateway/openapi/gateway-api.yaml @@ -148,7 +148,7 @@ paths: delete: tags: - Jrec - summary: Lists all recordings stored on this instance + summary: Deletes a recording stored on this instance operationId: DeleteRecording parameters: - name: id diff --git a/devolutions-gateway/openapi/ts-angular-client/api/jrec.service.ts b/devolutions-gateway/openapi/ts-angular-client/api/jrec.service.ts index 9210e00af..7a185b075 100644 --- a/devolutions-gateway/openapi/ts-angular-client/api/jrec.service.ts +++ b/devolutions-gateway/openapi/ts-angular-client/api/jrec.service.ts @@ -89,7 +89,7 @@ export class JrecService { } /** - * Lists all recordings stored on this instance + * Deletes a recording stored on this instance * @param id Recorded session ID * @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/devolutions-gateway/src/api/jrec.rs b/devolutions-gateway/src/api/jrec.rs index 64a32c844..461b4af3a 100644 --- a/devolutions-gateway/src/api/jrec.rs +++ b/devolutions-gateway/src/api/jrec.rs @@ -95,7 +95,7 @@ async fn handle_jrec_push( } } -/// Lists all recordings stored on this instance +/// Deletes a recording stored on this instance #[cfg_attr(feature = "openapi", utoipa::path( delete, operation_id = "DeleteRecording",