forked from loafle/openapi-generator-original
mark retry class as static (#11369)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user