mark retry class as static (#11369)

This commit is contained in:
William Cheng
2022-01-21 16:36:19 +08:00
committed by GitHub
parent 2d927a738b
commit 55ffdb791f
9 changed files with 91 additions and 9 deletions

View File

@@ -1,3 +1,13 @@
/*
* OpenAPI Petstore
*
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
*
* The version of the OpenAPI document: 1.0.0
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using Polly;
using RestSharp;
@@ -6,7 +16,7 @@ namespace Org.OpenAPITools.Client
/// <summary>
/// Configuration class to set the polly retry policies to be applied to the requests.
/// </summary>
public class RetryConfiguration
public static class RetryConfiguration
{
/// <summary>
/// Retry policy

View File

@@ -1,3 +1,13 @@
/*
* OpenAPI Petstore
*
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
*
* The version of the OpenAPI document: 1.0.0
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using Polly;
using System.Net.Http;
@@ -6,7 +16,7 @@ namespace Org.OpenAPITools.Client
/// <summary>
/// Configuration class to set the polly retry policies to be applied to the requests.
/// </summary>
public class RetryConfiguration
public static class RetryConfiguration
{
/// <summary>
/// Retry policy

View File

@@ -1,3 +1,13 @@
/*
* OpenAPI Petstore
*
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
*
* The version of the OpenAPI document: 1.0.0
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using Polly;
using RestSharp;
@@ -6,7 +16,7 @@ namespace Org.OpenAPITools.Client
/// <summary>
/// Configuration class to set the polly retry policies to be applied to the requests.
/// </summary>
public class RetryConfiguration
public static class RetryConfiguration
{
/// <summary>
/// Retry policy

View File

@@ -1,3 +1,13 @@
/*
* OpenAPI Petstore
*
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
*
* The version of the OpenAPI document: 1.0.0
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using Polly;
using RestSharp;
@@ -6,7 +16,7 @@ namespace Org.OpenAPITools.Client
/// <summary>
/// Configuration class to set the polly retry policies to be applied to the requests.
/// </summary>
public class RetryConfiguration
public static class RetryConfiguration
{
/// <summary>
/// Retry policy

View File

@@ -1,3 +1,13 @@
/*
* OpenAPI Petstore
*
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
*
* The version of the OpenAPI document: 1.0.0
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using Polly;
using RestSharp;
@@ -6,7 +16,7 @@ namespace Org.OpenAPITools.Client
/// <summary>
/// Configuration class to set the polly retry policies to be applied to the requests.
/// </summary>
public class RetryConfiguration
public static class RetryConfiguration
{
/// <summary>
/// Retry policy

View File

@@ -1,3 +1,13 @@
/*
* OpenAPI Petstore
*
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
*
* The version of the OpenAPI document: 1.0.0
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using Polly;
using RestSharp;
@@ -6,7 +16,7 @@ namespace Org.OpenAPITools.Client
/// <summary>
/// Configuration class to set the polly retry policies to be applied to the requests.
/// </summary>
public class RetryConfiguration
public static class RetryConfiguration
{
/// <summary>
/// Retry policy

View File

@@ -1,3 +1,13 @@
/*
* OpenAPI Petstore
*
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
*
* The version of the OpenAPI document: 1.0.0
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using Polly;
using RestSharp;
@@ -6,7 +16,7 @@ namespace Org.OpenAPITools.Client
/// <summary>
/// Configuration class to set the polly retry policies to be applied to the requests.
/// </summary>
public class RetryConfiguration
public static class RetryConfiguration
{
/// <summary>
/// Retry policy