Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enhance GetWindowHandle API docs and error handling
- Updated `SessionsController.cs` to improve API documentation and error handling for the `GetWindowHandle` method. - Added Swagger documentation annotations for better clarity and understanding of the method's purpose, parameters, and possible responses. - Included response annotations for HTTP status codes 200, 404, and 500, detailing the outcomes and return types. - Modified the method signature to include a `[SwaggerParameter]` annotation for the `session` parameter, enhancing parameter documentation. - Improved error handling and response preparation in the method's implementation for more robust operation.
- Loading branch information