Skip to content

Commit 9ccea36

Browse files
committed
update samples
1 parent b091589 commit 9ccea36

File tree

75 files changed

+94
-94
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+94
-94
lines changed

modules/openapi-generator/src/main/resources/r/api_client.mustache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
{{#authMethods}}
3030
{{#isOAuth}}
3131
#' @field oauth_flow_type OAuth flow type
32-
#' @field oauth_authorization_url authorization URL
32+
#' @field oauth_authorization_url Authorization URL
3333
#' @field oauth_token_url Token URL
3434
#' @field oauth_pkce Boolean flag to enable PKCE
3535
{{/isOAuth}}
@@ -73,7 +73,7 @@ ApiClient <- R6::R6Class(
7373
{{#isOAuth}}
7474
# Flow type
7575
oauth_flow_type = "{{flow}}",
76-
# authorization URL
76+
# Authorization URL
7777
oauth_authorization_url = "{{authorizationUrl}}",
7878
# Token URL
7979
oauth_token_url = "{{tokenUrl}}",

modules/openapi-generator/src/main/resources/r/libraries/httr2/api_client.mustache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
{{#authMethods}}
3030
{{#isOAuth}}
3131
#' @field oauth_flow_type OAuth flow type
32-
#' @field oauth_authorization_url authorization URL
32+
#' @field oauth_authorization_url Authorization URL
3333
#' @field oauth_token_url Token URL
3434
#' @field oauth_pkce Boolean flag to enable PKCE
3535
#' @field oauth_scopes OAuth scopes
@@ -73,7 +73,7 @@ ApiClient <- R6::R6Class(
7373
{{#isOAuth}}
7474
# Flow type
7575
oauth_flow_type = "{{flow}}",
76-
# authorization URL
76+
# Authorization URL
7777
oauth_authorization_url = "{{authorizationUrl}}",
7878
# Token URL
7979
oauth_token_url = "{{tokenUrl}}",

samples/client/echo_api/r/R/api_client.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ ApiClient <- R6::R6Class(
7272
#' @param bearer_token Bearer token.
7373
#' @param timeout Timeout.
7474
#' @param retry_status_codes Status codes for retry.
75-
#' @param max_retry_attempts Maxmium number of retry.
75+
#' @param max_retry_attempts Maximum number of retry.
7676
#' @export
7777
initialize = function(base_path = NULL, user_agent = NULL,
7878
default_headers = NULL,

samples/client/petstore/R-httr2-wrapper/R/api_client.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
#' @field oauth_secret OAuth secret
3333
#' @field oauth_refresh_token OAuth refresh token
3434
#' @field oauth_flow_type OAuth flow type
35-
#' @field oauth_authorization_url Authoriziation URL
35+
#' @field oauth_authorization_url Authorization URL
3636
#' @field oauth_token_url Token URL
3737
#' @field oauth_pkce Boolean flag to enable PKCE
3838
#' @field oauth_scopes OAuth scopes
@@ -68,7 +68,7 @@ ApiClient <- R6::R6Class(
6868
# OAuth2
6969
# Flow type
7070
oauth_flow_type = "implicit",
71-
# Authoriziation URL
71+
# Authorization URL
7272
oauth_authorization_url = "http://petstore.swagger.io/api/oauth/dialog",
7373
# Token URL
7474
oauth_token_url = "",
@@ -99,7 +99,7 @@ ApiClient <- R6::R6Class(
9999
#' @param bearer_token Bearer token.
100100
#' @param timeout Timeout.
101101
#' @param retry_status_codes Status codes for retry.
102-
#' @param max_retry_attempts Maxmium number of retry.
102+
#' @param max_retry_attempts Maximum number of retry.
103103
#' @export
104104
initialize = function(base_path = NULL, user_agent = NULL,
105105
default_headers = NULL,
@@ -296,7 +296,7 @@ ApiClient <- R6::R6Class(
296296

297297
req <- req %>% req_oauth_auth_code(client, scope = req_oauth_scopes,
298298
pkce = self$oauth_pkce,
299-
auth_url = self$oauth_authoriziation_url)
299+
auth_url = self$oauth_authorization_url)
300300
}
301301

302302
# stream data

samples/client/petstore/R-httr2/R/api_client.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
#' @field oauth_secret OAuth secret
3333
#' @field oauth_refresh_token OAuth refresh token
3434
#' @field oauth_flow_type OAuth flow type
35-
#' @field oauth_authorization_url Authoriziation URL
35+
#' @field oauth_authorization_url Authorization URL
3636
#' @field oauth_token_url Token URL
3737
#' @field oauth_pkce Boolean flag to enable PKCE
3838
#' @field oauth_scopes OAuth scopes
@@ -68,7 +68,7 @@ ApiClient <- R6::R6Class(
6868
# OAuth2
6969
# Flow type
7070
oauth_flow_type = "implicit",
71-
# Authoriziation URL
71+
# Authorization URL
7272
oauth_authorization_url = "http://petstore.swagger.io/api/oauth/dialog",
7373
# Token URL
7474
oauth_token_url = "",
@@ -99,7 +99,7 @@ ApiClient <- R6::R6Class(
9999
#' @param bearer_token Bearer token.
100100
#' @param timeout Timeout.
101101
#' @param retry_status_codes Status codes for retry.
102-
#' @param max_retry_attempts Maxmium number of retry.
102+
#' @param max_retry_attempts Maximum number of retry.
103103
#' @export
104104
initialize = function(base_path = NULL, user_agent = NULL,
105105
default_headers = NULL,
@@ -296,7 +296,7 @@ ApiClient <- R6::R6Class(
296296

297297
req <- req %>% req_oauth_auth_code(client, scope = req_oauth_scopes,
298298
pkce = self$oauth_pkce,
299-
auth_url = self$oauth_authoriziation_url)
299+
auth_url = self$oauth_authorization_url)
300300
}
301301

302302
# stream data

samples/client/petstore/R/R/api_client.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
#' @field oauth_secret OAuth secret
3333
#' @field oauth_refresh_token OAuth refresh token
3434
#' @field oauth_flow_type OAuth flow type
35-
#' @field oauth_authorization_url Authoriziation URL
35+
#' @field oauth_authorization_url Authorization URL
3636
#' @field oauth_token_url Token URL
3737
#' @field oauth_pkce Boolean flag to enable PKCE
3838
#' @field bearer_token Bearer token
@@ -68,7 +68,7 @@ ApiClient <- R6::R6Class(
6868
# OAuth2
6969
# Flow type
7070
oauth_flow_type = "implicit",
71-
# Authoriziation URL
71+
# Authorization URL
7272
oauth_authorization_url = "http://petstore.swagger.io/api/oauth/dialog",
7373
# Token URL
7474
oauth_token_url = "",
@@ -97,7 +97,7 @@ ApiClient <- R6::R6Class(
9797
#' @param bearer_token Bearer token.
9898
#' @param timeout Timeout.
9999
#' @param retry_status_codes Status codes for retry.
100-
#' @param max_retry_attempts Maxmium number of retry.
100+
#' @param max_retry_attempts Maximum number of retry.
101101
#' @export
102102
initialize = function(base_path = NULL, user_agent = NULL,
103103
default_headers = NULL,

samples/client/petstore/cpp-restsdk/client/include/CppRestPetstoreClient/ModelBase.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ web::json::value ModelBase::toJson( const std::vector<T>& value )
240240
template<typename T>
241241
web::json::value ModelBase::toJson( const std::set<T>& value )
242242
{
243-
// There's no protoype web::json::value::array(...) taking a std::set parameter. Converting to std::vector to get an array.
243+
// There's no prototype web::json::value::array(...) taking a std::set parameter. Converting to std::vector to get an array.
244244
std::vector<web::json::value> ret;
245245
for ( const auto& x : value )
246246
{

samples/client/petstore/csharp/generichost/latest/Tags/src/Org.OpenAPITools/Client/ExceptionEventArgs.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public class ExceptionEventArgs : EventArgs
1313
public Exception Exception { get; }
1414

1515
/// <summary>
16-
/// The ExcepetionEventArgs
16+
/// The ExceptionEventArgs
1717
/// </summary>
1818
/// <param name="exception"></param>
1919
public ExceptionEventArgs(Exception exception)

samples/client/petstore/csharp/generichost/net4.7/AllOf/src/Org.OpenAPITools/Client/ExceptionEventArgs.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public class ExceptionEventArgs : EventArgs
1313
public Exception Exception { get; }
1414

1515
/// <summary>
16-
/// The ExcepetionEventArgs
16+
/// The ExceptionEventArgs
1717
/// </summary>
1818
/// <param name="exception"></param>
1919
public ExceptionEventArgs(Exception exception)

samples/client/petstore/csharp/generichost/net4.7/AnyOf/src/Org.OpenAPITools/Client/ExceptionEventArgs.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public class ExceptionEventArgs : EventArgs
1313
public Exception Exception { get; }
1414

1515
/// <summary>
16-
/// The ExcepetionEventArgs
16+
/// The ExceptionEventArgs
1717
/// </summary>
1818
/// <param name="exception"></param>
1919
public ExceptionEventArgs(Exception exception)

0 commit comments

Comments
 (0)