diff --git a/modules/openapi-generator/src/main/resources/ruby-client/README.mustache b/modules/openapi-generator/src/main/resources/ruby-client/README.mustache index 7ee777216f4..47c8ae12aca 100644 --- a/modules/openapi-generator/src/main/resources/ruby-client/README.mustache +++ b/modules/openapi-generator/src/main/resources/ruby-client/README.mustache @@ -128,9 +128,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}} diff --git a/samples/client/petstore/ruby-autoload/README.md b/samples/client/petstore/ruby-autoload/README.md index b0f3201a184..e770fade286 100644 --- a/samples/client/petstore/ruby-autoload/README.md +++ b/samples/client/petstore/ruby-autoload/README.md @@ -173,6 +173,7 @@ Class | Method | HTTP request | Description ## Documentation for Authorization +Authentication schemes defined for the API: ### petstore_auth diff --git a/samples/client/petstore/ruby-faraday/README.md b/samples/client/petstore/ruby-faraday/README.md index b0f3201a184..e770fade286 100644 --- a/samples/client/petstore/ruby-faraday/README.md +++ b/samples/client/petstore/ruby-faraday/README.md @@ -173,6 +173,7 @@ Class | Method | HTTP request | Description ## Documentation for Authorization +Authentication schemes defined for the API: ### petstore_auth diff --git a/samples/client/petstore/ruby/README.md b/samples/client/petstore/ruby/README.md index b0f3201a184..e770fade286 100644 --- a/samples/client/petstore/ruby/README.md +++ b/samples/client/petstore/ruby/README.md @@ -173,6 +173,7 @@ Class | Method | HTTP request | Description ## Documentation for Authorization +Authentication schemes defined for the API: ### petstore_auth diff --git a/samples/openapi3/client/extensions/x-auth-id-alias/ruby-client/README.md b/samples/openapi3/client/extensions/x-auth-id-alias/ruby-client/README.md index 18596625507..95b0d4a413f 100644 --- a/samples/openapi3/client/extensions/x-auth-id-alias/ruby-client/README.md +++ b/samples/openapi3/client/extensions/x-auth-id-alias/ruby-client/README.md @@ -100,6 +100,7 @@ Class | Method | HTTP request | Description ## Documentation for Authorization +Authentication schemes defined for the API: ### api_key diff --git a/samples/openapi3/client/features/dynamic-servers/ruby/README.md b/samples/openapi3/client/features/dynamic-servers/ruby/README.md index aa14e882259..8a5916fab83 100644 --- a/samples/openapi3/client/features/dynamic-servers/ruby/README.md +++ b/samples/openapi3/client/features/dynamic-servers/ruby/README.md @@ -84,5 +84,5 @@ Class | Method | HTTP request | Description ## Documentation for Authorization - All endpoints do not require authorization. +Endpoints do not require authorization. diff --git a/samples/openapi3/client/features/generate-alias-as-model/ruby-client/README.md b/samples/openapi3/client/features/generate-alias-as-model/ruby-client/README.md index 99902ebafff..897da170d3b 100644 --- a/samples/openapi3/client/features/generate-alias-as-model/ruby-client/README.md +++ b/samples/openapi3/client/features/generate-alias-as-model/ruby-client/README.md @@ -89,5 +89,5 @@ Class | Method | HTTP request | Description ## Documentation for Authorization - All endpoints do not require authorization. +Endpoints do not require authorization.