code: public Object listSwagger(String resourceGroupName, String workflowName) {
          return listSwaggerWithServiceResponseAsync(resourceGroupName, workflowName).toBlocking().single().body();
      }
docs: Gets an OpenAPI definition for the workflow.
  
  @param resourceGroupName The resource group name.
  @param workflowName The workflow name.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws CloudException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the Object object if successful.