You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/openapi-generator/src/main/resources/codegen/README.mustache
+20-12
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,16 @@
1
1
# OpenAPI Generator for the {{name}} library
2
2
3
3
## Overview
4
-
This is a boiler-plate project to generate your own client library with Swagger. Its goal is
5
-
to get you started with the basic plumbing so you can put in your own logic. It won't work without
6
-
your changes applied.
4
+
This is a boiler-plate project to generate your own project derived from an OpenAPI specification.
5
+
Its goal is to get you started with the basic plumbing so you can put in your own logic.
6
+
It won't work without your changes applied.
7
7
8
-
## What's Swagger?
9
-
The goal of Swagger™ is to define a standard, language-agnostic interface to REST APIs which allows both humans and computers to discover and understand the capabilities of the service without access to source code, documentation, or through network traffic inspection. When properly defined via Swagger, a consumer can understand and interact with the remote service with a minimal amount of implementation logic. Similar to what interfaces have done for lower-level programming, Swagger removes the guesswork in calling the service.
8
+
## What's OpenAPI
9
+
The goal of OpenAPI is to define a standard, language-agnostic interface to REST APIs which allows both humans and computers to discover and understand the capabilities of the service without access to source code, documentation, or through network traffic inspection.
10
+
When properly described with OpenAPI, a consumer can understand and interact with the remote service with a minimal amount of implementation logic.
11
+
Similar to what interfaces have done for lower-level programming, OpenAPI removes the guesswork in calling the service.
10
12
11
-
12
-
Check out [OpenAPI-Spec](https://github.com/OAI/OpenAPI-Specification) for additional information about the Swagger project, including additional libraries with support for other languages and more.
13
+
Check out [OpenAPI-Spec](https://github.com/OAI/OpenAPI-Specification) for additional information about the OpenAPI project, including additional libraries with support for other languages and more.
13
14
14
15
## How do I use this?
15
16
At this point, you've likely generated a client setup. It will include something along these lines:
@@ -43,10 +44,17 @@ Once modified, you can run this:
43
44
mvn package
44
45
```
45
46
46
-
In your generator project. A single jar file will be produced in `target`. You can now use that with codegen:
47
+
In your generator project. A single jar file will be produced in `target`. You can now use that with [OpenAPI Generator](https://openapi-generator.tech):
Copy file name to clipboardExpand all lines: samples/meta-codegen/lib/README.md
+21-13
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,16 @@
1
1
# OpenAPI Generator for the myClientCodegen library
2
2
3
3
## Overview
4
-
This is a boiler-plate project to generate your own client library with Swagger. Its goal is
5
-
to get you started with the basic plumbing so you can put in your own logic. It won't work without
6
-
your changes applied.
4
+
This is a boiler-plate project to generate your own project derived from an OpenAPI specification.
5
+
Its goal is to get you started with the basic plumbing so you can put in your own logic.
6
+
It won't work without your changes applied.
7
7
8
-
## What's Swagger?
9
-
The goal of Swagger™ is to define a standard, language-agnostic interface to REST APIs which allows both humans and computers to discover and understand the capabilities of the service without access to source code, documentation, or through network traffic inspection. When properly defined via Swagger, a consumer can understand and interact with the remote service with a minimal amount of implementation logic. Similar to what interfaces have done for lower-level programming, Swagger removes the guesswork in calling the service.
8
+
## What's OpenAPI
9
+
The goal of OpenAPI is to define a standard, language-agnostic interface to REST APIs which allows both humans and computers to discover and understand the capabilities of the service without access to source code, documentation, or through network traffic inspection.
10
+
When properly described with OpenAPI, a consumer can understand and interact with the remote service with a minimal amount of implementation logic.
11
+
Similar to what interfaces have done for lower-level programming, OpenAPI removes the guesswork in calling the service.
10
12
11
-
12
-
Check out [OpenAPI-Spec](https://github.com/OAI/OpenAPI-Specification) for additional information about the Swagger project, including additional libraries with support for other languages and more.
13
+
Check out [OpenAPI-Spec](https://github.com/OAI/OpenAPI-Specification) for additional information about the OpenAPI project, including additional libraries with support for other languages and more.
13
14
14
15
## How do I use this?
15
16
At this point, you've likely generated a client setup. It will include something along these lines:
@@ -43,10 +44,17 @@ Once modified, you can run this:
43
44
mvn package
44
45
```
45
46
46
-
In your generator project. A single jar file will be produced in `target`. You can now use that with codegen:
47
+
In your generator project. A single jar file will be produced in `target`. You can now use that with [OpenAPI Generator](https://openapi-generator.tech):
0 commit comments