Skip to content

Commit d46d26e

Browse files
committed
implement CR feedback
1 parent c95a665 commit d46d26e

75 files changed

Lines changed: 168 additions & 168 deletions

File tree

Some content is hidden

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

modules/openapi-generator/src/main/resources/kotlin-client/api_doc.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ All URIs are relative to *{{basePath}}*
2727
{{! TODO: Auth method documentation examples}}
2828
val apiInstance = {{{classname}}}()
2929
{{#allParams}}
30-
val {{{paramName}}} : {{{dataType}}} = {{{example}}} // {{{dataType}}} | {{#lambda.escapeMarkdown}}{{{unescapedDescription}}}{{/lambda.escapeMarkdown}}
30+
val {{{paramName}}} : {{{dataType}}} = {{{example}}} // {{{dataType}}} | {{{unescapedDescription}}}
3131
{{/allParams}}
3232
try {
3333
{{#returnType}}val result : {{{returnType}}}{{#nullableReturnType}}?{{/nullableReturnType}} = {{/returnType}}apiInstance.{{{operationId}}}({{#allParams}}{{{paramName}}}{{^-last}}, {{/-last}}{{/allParams}}){{#returnType}}

modules/openapi-generator/src/main/resources/kotlin-client/libraries/jvm-retrofit2/api_doc.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ apiClient.setBearerToken("TOKEN")
3535
{{/authMethods}}
3636
val webService = apiClient.createWebservice({{{classname}}}::class.java)
3737
{{#allParams}}
38-
val {{{paramName}}} : {{{dataType}}} = {{{example}}} // {{{dataType}}} | {{#lambda.escapeMarkdown}}{{{unescapedDescription}}}{{/lambda.escapeMarkdown}}
38+
val {{{paramName}}} : {{{dataType}}} = {{{example}}} // {{{dataType}}} | {{{unescapedDescription}}}
3939
{{/allParams}}
4040

4141
{{#useCoroutines}}

modules/openapi-generator/src/main/resources/kotlin-client/libraries/jvm-volley/api_doc.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ apiClient.setBearerToken("TOKEN")
3535
{{/authMethods}}
3636
val webService = apiClient.createWebservice({{{classname}}}::class.java)
3737
{{#allParams}}
38-
val {{{paramName}}} : {{{dataType}}} = {{{example}}} // {{{dataType}}} | {{#lambda.escapeMarkdown}}{{{unescapedDescription}}}{{/lambda.escapeMarkdown}}
38+
val {{{paramName}}} : {{{dataType}}} = {{{example}}} // {{{dataType}}} | {{{unescapedDescription}}}
3939
{{/allParams}}
4040

4141
{{#useCoroutines}}

modules/openapi-generator/src/main/resources/kotlin-misk/api_doc.mustache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ Method | HTTP request | Description
2727
{{! TODO: Auth method documentation examples}}
2828
val apiInstance = {{{classname}}}()
2929
{{#allParams}}
30-
val {{{paramName}}} : {{{dataType}}} = {{{example}}} // {{{dataType}}} | {{#lambda.escapeMarkdown}}{{{unescapedDescription}}}{{/lambda.escapeMarkdown}}
30+
val {{{paramName}}} : {{{dataType}}} = {{{example}}} // {{{dataType}}} | {{{unescapedDescription}}}
3131
{{/allParams}}
3232
try {
33-
{{#returnType}}val result : {{#lambda.escapeMarkdown}}{{{.}}}{{/lambda.escapeMarkdown}} = {{/returnType}}apiInstance.{{{operationId}}}({{#allParams}}{{{paramName}}}{{^-last}}, {{/-last}}{{/allParams}}){{#returnType}}
33+
{{#returnType}}val result : {{{returnType}}} = {{/returnType}}apiInstance.{{{operationId}}}({{#allParams}}{{{paramName}}}{{^-last}}, {{/-last}}{{/allParams}}){{#returnType}}
3434
println(result){{/returnType}}
3535
} catch (e: ClientException) {
3636
println("4xx response calling {{{classname}}}#{{{operationId}}}")

modules/openapi-generator/src/main/resources/kotlin-server/api_doc.mustache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ Method | HTTP request | Description
2727
{{! TODO: Auth method documentation examples}}
2828
val apiInstance = {{{classname}}}()
2929
{{#allParams}}
30-
val {{{paramName}}} : {{{dataType}}} = {{{example}}} // {{{dataType}}} | {{#lambda.escapeMarkdown}}{{{unescapedDescription}}}{{/lambda.escapeMarkdown}}
30+
val {{{paramName}}} : {{{dataType}}} = {{{example}}} // {{{dataType}}} | {{{unescapedDescription}}}
3131
{{/allParams}}
3232
try {
33-
{{#returnType}}val result : {{#lambda.escapeMarkdown}}{{{.}}}{{/lambda.escapeMarkdown}} = {{/returnType}}apiInstance.{{{operationId}}}({{#allParams}}{{{paramName}}}{{^-last}}, {{/-last}}{{/allParams}}){{#returnType}}
33+
{{#returnType}}val result : {{{returnType}}} = {{/returnType}}apiInstance.{{{operationId}}}({{#allParams}}{{{paramName}}}{{^-last}}, {{/-last}}{{/allParams}}){{#returnType}}
3434
println(result){{/returnType}}
3535
} catch (e: ClientException) {
3636
println("4xx response calling {{{classname}}}#{{{operationId}}}")

samples/client/echo_api/kotlin-jvm-okhttp/docs/EchoApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Tests that path params with \$dollar, backslash \\ and quote " are properly esca
2323

2424
val apiInstance = EchoApi()
2525
val dollarParamName : kotlin.String = dollarParamName_example // kotlin.String |
26-
val filterDollarType : kotlin.String = filterDollarType_example // kotlin.String | Filter with \$dollar in description and comment-close */
26+
val filterDollarType : kotlin.String = filterDollarType_example // kotlin.String | Filter with $dollar in description and comment-close */
2727
try {
2828
val result : kotlin.String = apiInstance.testsEchoStringEscapingParamName(dollarParamName, filterDollarType)
2929
println(result)

samples/client/echo_api/kotlin-jvm-spring-3-restclient/docs/EchoApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Tests that path params with \$dollar, backslash \\ and quote " are properly esca
2323

2424
val apiInstance = EchoApi()
2525
val dollarParamName : kotlin.String = dollarParamName_example // kotlin.String |
26-
val filterDollarType : kotlin.String = filterDollarType_example // kotlin.String | Filter with \$dollar in description and comment-close */
26+
val filterDollarType : kotlin.String = filterDollarType_example // kotlin.String | Filter with $dollar in description and comment-close */
2727
try {
2828
val result : kotlin.String = apiInstance.testsEchoStringEscapingParamName(dollarParamName, filterDollarType)
2929
println(result)

samples/client/echo_api/kotlin-jvm-spring-3-webclient/docs/EchoApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Tests that path params with \$dollar, backslash \\ and quote " are properly esca
2323

2424
val apiInstance = EchoApi()
2525
val dollarParamName : kotlin.String = dollarParamName_example // kotlin.String |
26-
val filterDollarType : kotlin.String = filterDollarType_example // kotlin.String | Filter with \$dollar in description and comment-close */
26+
val filterDollarType : kotlin.String = filterDollarType_example // kotlin.String | Filter with $dollar in description and comment-close */
2727
try {
2828
val result : kotlin.String = apiInstance.testsEchoStringEscapingParamName(dollarParamName, filterDollarType)
2929
println(result)

samples/client/echo_api/kotlin-model-prefix-type-mappings/docs/EchoApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Tests that path params with \$dollar, backslash \\ and quote " are properly esca
2222
val apiClient = ApiClient()
2323
val webService = apiClient.createWebservice(EchoApi::class.java)
2424
val dollarParamName : kotlin.String = dollarParamName_example // kotlin.String |
25-
val filterDollarType : kotlin.String = filterDollarType_example // kotlin.String | Filter with \$dollar in description and comment-close */
25+
val filterDollarType : kotlin.String = filterDollarType_example // kotlin.String | Filter with $dollar in description and comment-close */
2626

2727
launch(Dispatchers.IO) {
2828
val result : kotlin.String = webService.testsEchoStringEscapingParamName(dollarParamName, filterDollarType)

samples/client/others/kotlin-jvm-okhttp-non-ascii-headers/docs/PetApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Configure petstore_auth:
113113

114114
<a id="findPetsByStatus"></a>
115115
# **findPetsByStatus**
116-
> kotlin.collections.List<Pet> findPetsByStatus(status)
116+
> kotlin.collections.List&lt;Pet&gt; findPetsByStatus(status)
117117
118118
Finds Pets by status
119119

@@ -161,7 +161,7 @@ Configure petstore_auth:
161161

162162
<a id="findPetsByTags"></a>
163163
# **findPetsByTags**
164-
> kotlin.collections.List<Pet> findPetsByTags(tags)
164+
> kotlin.collections.List&lt;Pet&gt; findPetsByTags(tags)
165165
166166
Finds Pets by tags
167167

0 commit comments

Comments
 (0)