Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{{>partial_header}}

using Polly;
{{#useRestSharp}}
using RestSharp;
Expand All @@ -11,7 +13,7 @@ namespace {{packageName}}.Client
/// <summary>
/// Configuration class to set the polly retry policies to be applied to the requests.
/// </summary>
public class RetryConfiguration
public static class RetryConfiguration
{
{{#useRestSharp}}
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
/*
* MultipartFile test
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.0.0
* Generated by: https://github.com/openapitools/openapi-generator.git
*/


using Polly;
using RestSharp;

Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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;

Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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;

Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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;

Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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;

Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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;

Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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;

Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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;

Expand All @@ -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
Expand Down