diff --git a/modules/openapi-generator/src/main/resources/r/README.mustache b/modules/openapi-generator/src/main/resources/r/README.mustache index 961894a3f2f3..57d455864c16 100644 --- a/modules/openapi-generator/src/main/resources/r/README.mustache +++ b/modules/openapi-generator/src/main/resources/r/README.mustache @@ -90,9 +90,10 @@ Class | Method | HTTP request | Description ## Documentation for Authorization -{{^authMethods}} All endpoints do not require authorization. -{{/authMethods}}{{#authMethods}}{{#last}} Authentication schemes defined for the API:{{/last}}{{/authMethods}} -{{#authMethods}}### {{name}} +{{^authMethods}}Endpoints do not require authorization.{{/authMethods}} +{{#hasAuthMethods}}Authentication schemes defined for the API:{{/hasAuthMethods}} +{{#authMethods}} +### {{name}} {{#isApiKey}} - **Type**: API key diff --git a/samples/client/petstore/R-httr2-wrapper/README.md b/samples/client/petstore/R-httr2-wrapper/README.md index 52a64392dd7c..792f1c20248f 100644 --- a/samples/client/petstore/R-httr2-wrapper/README.md +++ b/samples/client/petstore/R-httr2-wrapper/README.md @@ -134,6 +134,7 @@ Class | Method | HTTP request | Description ## Documentation for Authorization +Authentication schemes defined for the API: ### http_auth - **Type**: HTTP basic authentication diff --git a/samples/client/petstore/R-httr2/README.md b/samples/client/petstore/R-httr2/README.md index 52a64392dd7c..792f1c20248f 100644 --- a/samples/client/petstore/R-httr2/README.md +++ b/samples/client/petstore/R-httr2/README.md @@ -134,6 +134,7 @@ Class | Method | HTTP request | Description ## Documentation for Authorization +Authentication schemes defined for the API: ### http_auth - **Type**: HTTP basic authentication diff --git a/samples/client/petstore/R/README.md b/samples/client/petstore/R/README.md index dbe87ad6dd39..b33b4f0b072d 100644 --- a/samples/client/petstore/R/README.md +++ b/samples/client/petstore/R/README.md @@ -134,6 +134,7 @@ Class | Method | HTTP request | Description ## Documentation for Authorization +Authentication schemes defined for the API: ### http_auth - **Type**: HTTP basic authentication