Skip to content

Commit 6cf58af

Browse files
author
LoveIsGrief
authored
Switch to predominant use of appDescriptionWithNewLines in README.mustache (#5109)
Descriptions tend to get lengthy and can include multiple lines. New lines are important to markdown formatting/syntax and can't just be ignored. Resolves #3704
1 parent f4185b8 commit 6cf58af

File tree

43 files changed

+122
-122
lines changed

Some content is hidden

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

43 files changed

+122
-122
lines changed

modules/openapi-generator/src/main/resources/Eiffel/README.mustache

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Eiffel API client for {{packageName}}
22

3-
{{#appDescription}}
4-
{{{appDescription}}}
5-
{{/appDescription}}
3+
{{#appDescriptionWithNewLines}}
4+
{{{appDescriptionWithNewLines}}}
5+
{{/appDescriptionWithNewLines}}
66

77
## Overview
88
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client.

modules/openapi-generator/src/main/resources/Groovy/README.mustache

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# {{packageName}}
22

3-
{{#appDescription}}
4-
{{{appDescription}}}
5-
{{/appDescription}}
3+
{{#appDescriptionWithNewLines}}
4+
{{{appDescriptionWithNewLines}}}
5+
{{/appDescriptionWithNewLines}}
66

77
This Groovy package, using the [http-builder-ng library](https://http-builder-ng.github.io/http-builder-ng/), is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
88

modules/openapi-generator/src/main/resources/Java/README.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
- Build date: {{generatedDate}}
99
{{/hideGenerationTimestamp}}
1010

11-
{{#appDescription}}{{{appDescription}}}{{/appDescription}}
11+
{{#appDescriptionWithNewLines}}{{{appDescriptionWithNewLines}}}{{/appDescriptionWithNewLines}}
1212

1313
{{#infoUrl}}
1414
For more information, please visit [{{{infoUrl}}}]({{{infoUrl}}})

modules/openapi-generator/src/main/resources/Java/libraries/microprofile/README.mustache

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# {{appName}} - MicroProfile Rest Client
22

3-
{{#appDescription}}
4-
{{{appDescription}}}
3+
{{#appDescriptionWithNewLines}}
4+
{{{appDescriptionWithNewLines}}}
55

6-
{{/appDescription}}
6+
{{/appDescriptionWithNewLines}}
77
## Overview
88
This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project.
99
[MicroProfile Rest Client](https://github.com/eclipse/microprofile-rest-client) is a type-safe way of calling

modules/openapi-generator/src/main/resources/Java/libraries/native/README.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
- Build date: {{generatedDate}}
99
{{/hideGenerationTimestamp}}
1010

11-
{{#appDescription}}{{{appDescription}}}{{/appDescription}}
11+
{{#appDescriptionWithNewLines}}{{{appDescriptionWithNewLines}}}{{/appDescriptionWithNewLines}}
1212

1313
{{#infoUrl}}
1414
For more information, please visit [{{{infoUrl}}}]({{{infoUrl}}})

modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson/README.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
- Build date: {{generatedDate}}
77
{{/hideGenerationTimestamp}}
88

9-
{{#appDescription}}{{{appDescription}}}{{/appDescription}}
9+
{{#appDescriptionWithNewLines}}{{{appDescriptionWithNewLines}}}{{/appDescriptionWithNewLines}}
1010

1111
{{#infoUrl}}
1212
For more information, please visit [{{{infoUrl}}}]({{{infoUrl}}})

modules/openapi-generator/src/main/resources/Javascript/README.mustache

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# {{projectName}}
22

33
{{moduleName}} - JavaScript client for {{projectName}}
4-
{{#appDescription}}
5-
{{{appDescription}}}
6-
{{/appDescription}}
4+
{{#appDescriptionWithNewLines}}
5+
{{{appDescriptionWithNewLines}}}
6+
{{/appDescriptionWithNewLines}}
77
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
88

99
- API version: {{appVersion}}

modules/openapi-generator/src/main/resources/Javascript/es6/README.mustache

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# {{projectName}}
22

33
{{moduleName}} - JavaScript client for {{projectName}}
4-
{{#appDescription}}
5-
{{{appDescription}}}
6-
{{/appDescription}}
4+
{{#appDescriptionWithNewLines}}
5+
{{{appDescriptionWithNewLines}}}
6+
{{/appDescriptionWithNewLines}}
77
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
88

99
- API version: {{appVersion}}

modules/openapi-generator/src/main/resources/aspnetcore/2.0/README.mustache

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# {{packageName}} - ASP.NET Core 2.0 Server
22

3-
{{#appDescription}}
4-
{{{appDescription}}}
5-
{{/appDescription}}
3+
{{#appDescriptionWithNewLines}}
4+
{{{appDescriptionWithNewLines}}}
5+
{{/appDescriptionWithNewLines}}
66

77
## Run
88

modules/openapi-generator/src/main/resources/aspnetcore/2.1/README.mustache

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# {{packageName}} - ASP.NET Core 2.0 Server
22

3-
{{#appDescription}}
4-
{{{appDescription}}}
5-
{{/appDescription}}
3+
{{#appDescriptionWithNewLines}}
4+
{{{appDescriptionWithNewLines}}}
5+
{{/appDescriptionWithNewLines}}
66

77
## Run
88

@@ -25,4 +25,4 @@ cd {{sourceFolder}}/{{packageName}}
2525
docker build -t {{dockerTag}} .
2626
docker run -p 5000:8080 {{dockerTag}}
2727
```
28-
{{/isLibrary}}
28+
{{/isLibrary}}

0 commit comments

Comments
 (0)