forked from swagger-api/swagger-codegen
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove trailing spaces in r templates (swagger-api#7526)
- Loading branch information
Showing
14 changed files
with
75 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
modules/swagger-codegen/src/main/resources/r/partial_header.mustache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# Swagger Petstore | ||
# | ||
# | ||
# This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters. | ||
# | ||
# | ||
# OpenAPI spec version: 1.0.0 | ||
# Contact: [email protected] | ||
# Generated by: https://github.com/swagger-api/swagger-codegen.git | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# Swagger Petstore | ||
# | ||
# | ||
# This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters. | ||
# | ||
# | ||
# OpenAPI spec version: 1.0.0 | ||
# Contact: [email protected] | ||
# Generated by: https://github.com/swagger-api/swagger-codegen.git | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# Swagger Petstore | ||
# | ||
# | ||
# This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters. | ||
# | ||
# | ||
# OpenAPI spec version: 1.0.0 | ||
# Contact: [email protected] | ||
# Generated by: https://github.com/swagger-api/swagger-codegen.git | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# Swagger Petstore | ||
# | ||
# | ||
# This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters. | ||
# | ||
# | ||
# OpenAPI spec version: 1.0.0 | ||
# Contact: [email protected] | ||
# Generated by: https://github.com/swagger-api/swagger-codegen.git | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# Swagger Petstore | ||
# | ||
# | ||
# This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters. | ||
# | ||
# | ||
# OpenAPI spec version: 1.0.0 | ||
# Contact: [email protected] | ||
# Generated by: https://github.com/swagger-api/swagger-codegen.git | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# Swagger Petstore | ||
# | ||
# | ||
# This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters. | ||
# | ||
# | ||
# OpenAPI spec version: 1.0.0 | ||
# Contact: [email protected] | ||
# Generated by: https://github.com/swagger-api/swagger-codegen.git | ||
|
@@ -18,31 +18,31 @@ | |
#' @section Methods: | ||
#' \describe{ | ||
#' | ||
#' add_pet Add a new pet to the store | ||
#' add_pet Add a new pet to the store | ||
#' | ||
#' | ||
#' delete_pet Deletes a pet | ||
#' delete_pet Deletes a pet | ||
#' | ||
#' | ||
#' find_pets_by_status Finds Pets by status | ||
#' find_pets_by_status Finds Pets by status | ||
#' | ||
#' | ||
#' find_pets_by_tags Finds Pets by tags | ||
#' find_pets_by_tags Finds Pets by tags | ||
#' | ||
#' | ||
#' get_pet_by_id Find pet by ID | ||
#' get_pet_by_id Find pet by ID | ||
#' | ||
#' | ||
#' update_pet Update an existing pet | ||
#' update_pet Update an existing pet | ||
#' | ||
#' | ||
#' update_pet_with_form Updates a pet in the store with form data | ||
#' update_pet_with_form Updates a pet in the store with form data | ||
#' | ||
#' | ||
#' upload_file uploads an image | ||
#' upload_file uploads an image | ||
#' | ||
#' } | ||
#' | ||
#' | ||
#' @export | ||
PetApi <- R6::R6Class( | ||
'PetApi', | ||
|
@@ -73,7 +73,7 @@ PetApi <- R6::R6Class( | |
method = "POST", | ||
queryParams = queryParams, | ||
headerParams = headerParams, | ||
body = body, | ||
body = body, | ||
...) | ||
|
||
if (httr::status_code(resp) >= 200 && httr::status_code(resp) <= 299) { | ||
|
@@ -103,7 +103,7 @@ PetApi <- R6::R6Class( | |
method = "DELETE", | ||
queryParams = queryParams, | ||
headerParams = headerParams, | ||
body = body, | ||
body = body, | ||
...) | ||
|
||
if (httr::status_code(resp) >= 200 && httr::status_code(resp) <= 299) { | ||
|
@@ -129,7 +129,7 @@ PetApi <- R6::R6Class( | |
method = "GET", | ||
queryParams = queryParams, | ||
headerParams = headerParams, | ||
body = body, | ||
body = body, | ||
...) | ||
|
||
if (httr::status_code(resp) >= 200 && httr::status_code(resp) <= 299) { | ||
|
@@ -157,7 +157,7 @@ PetApi <- R6::R6Class( | |
method = "GET", | ||
queryParams = queryParams, | ||
headerParams = headerParams, | ||
body = body, | ||
body = body, | ||
...) | ||
|
||
if (httr::status_code(resp) >= 200 && httr::status_code(resp) <= 299) { | ||
|
@@ -185,7 +185,7 @@ PetApi <- R6::R6Class( | |
method = "GET", | ||
queryParams = queryParams, | ||
headerParams = headerParams, | ||
body = body, | ||
body = body, | ||
...) | ||
|
||
if (httr::status_code(resp) >= 200 && httr::status_code(resp) <= 299) { | ||
|
@@ -215,7 +215,7 @@ PetApi <- R6::R6Class( | |
method = "PUT", | ||
queryParams = queryParams, | ||
headerParams = headerParams, | ||
body = body, | ||
body = body, | ||
...) | ||
|
||
if (httr::status_code(resp) >= 200 && httr::status_code(resp) <= 299) { | ||
|
@@ -246,7 +246,7 @@ PetApi <- R6::R6Class( | |
method = "POST", | ||
queryParams = queryParams, | ||
headerParams = headerParams, | ||
body = body, | ||
body = body, | ||
...) | ||
|
||
if (httr::status_code(resp) >= 200 && httr::status_code(resp) <= 299) { | ||
|
@@ -277,7 +277,7 @@ PetApi <- R6::R6Class( | |
method = "POST", | ||
queryParams = queryParams, | ||
headerParams = headerParams, | ||
body = body, | ||
body = body, | ||
...) | ||
|
||
if (httr::status_code(resp) >= 200 && httr::status_code(resp) <= 299) { | ||
|
@@ -292,4 +292,4 @@ PetApi <- R6::R6Class( | |
|
||
} | ||
) | ||
) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# Swagger Petstore | ||
# | ||
# | ||
# This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters. | ||
# | ||
# | ||
# OpenAPI spec version: 1.0.0 | ||
# Contact: [email protected] | ||
# Generated by: https://github.com/swagger-api/swagger-codegen.git | ||
|
@@ -18,19 +18,19 @@ | |
#' @section Methods: | ||
#' \describe{ | ||
#' | ||
#' delete_order Delete purchase order by ID | ||
#' delete_order Delete purchase order by ID | ||
#' | ||
#' | ||
#' get_inventory Returns pet inventories by status | ||
#' get_inventory Returns pet inventories by status | ||
#' | ||
#' | ||
#' get_order_by_id Find purchase order by ID | ||
#' get_order_by_id Find purchase order by ID | ||
#' | ||
#' | ||
#' place_order Place an order for a pet | ||
#' place_order Place an order for a pet | ||
#' | ||
#' } | ||
#' | ||
#' | ||
#' @export | ||
StoreApi <- R6::R6Class( | ||
'StoreApi', | ||
|
@@ -59,7 +59,7 @@ StoreApi <- R6::R6Class( | |
method = "DELETE", | ||
queryParams = queryParams, | ||
headerParams = headerParams, | ||
body = body, | ||
body = body, | ||
...) | ||
|
||
if (httr::status_code(resp) >= 200 && httr::status_code(resp) <= 299) { | ||
|
@@ -81,7 +81,7 @@ StoreApi <- R6::R6Class( | |
method = "GET", | ||
queryParams = queryParams, | ||
headerParams = headerParams, | ||
body = body, | ||
body = body, | ||
...) | ||
|
||
if (httr::status_code(resp) >= 200 && httr::status_code(resp) <= 299) { | ||
|
@@ -109,7 +109,7 @@ StoreApi <- R6::R6Class( | |
method = "GET", | ||
queryParams = queryParams, | ||
headerParams = headerParams, | ||
body = body, | ||
body = body, | ||
...) | ||
|
||
if (httr::status_code(resp) >= 200 && httr::status_code(resp) <= 299) { | ||
|
@@ -139,7 +139,7 @@ StoreApi <- R6::R6Class( | |
method = "POST", | ||
queryParams = queryParams, | ||
headerParams = headerParams, | ||
body = body, | ||
body = body, | ||
...) | ||
|
||
if (httr::status_code(resp) >= 200 && httr::status_code(resp) <= 299) { | ||
|
@@ -154,4 +154,4 @@ StoreApi <- R6::R6Class( | |
|
||
} | ||
) | ||
) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# Swagger Petstore | ||
# | ||
# | ||
# This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters. | ||
# | ||
# | ||
# OpenAPI spec version: 1.0.0 | ||
# Contact: [email protected] | ||
# Generated by: https://github.com/swagger-api/swagger-codegen.git | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# Swagger Petstore | ||
# | ||
# | ||
# This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters. | ||
# | ||
# | ||
# OpenAPI spec version: 1.0.0 | ||
# Contact: [email protected] | ||
# Generated by: https://github.com/swagger-api/swagger-codegen.git | ||
|
Oops, something went wrong.