Skip to content

Commit 00d61ba

Browse files
changed api first tutorial
1 parent 6b2d3a8 commit 00d61ba

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

api-first-approach/index.asciidoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ This tutorial will show you how to use an API first approach to create a RESTful
55
For more information about the API fist approach, see the [devon4j documentation](https://github.com/devonfw/devon4j/blob/master/documentation/guide-api-first.asciidoc).
66
For more details on the OpenAPI generator, have a look at the [official webpage](https://openapi-generator.tech/).
77
8-
### Prerequisites
8+
## Prerequisites
99
* Installed devonfw-ide (or at least Java and Maven installed)
1010
11-
### Learning goals
11+
## Learning goals
1212
* You will learn how to generate REST services from OpenAPI specifications using OpenAPI generator
1313
1414
====
@@ -58,7 +58,7 @@ Now every time you build the project, the plugin will generate the correspong Ja
5858
====
5959

6060
====
61-
The OpenAPI generator is able to generate full REST services. Since we used the option `<interfaceOnly>true</interfaceOnly>`, only the interface for this API is generated.
61+
The OpenAPI generator is able to generate full REST services. Since we used the option '<interfaceOnly>true</interfaceOnly>', only the interface for this API is generated.
6262
This allows us to create the REST service and implement the logic in it ourselves.
6363
6464
So create a class `PetstoreRestService` which implements the API generated from the generator plugin. Use the code shown below.

0 commit comments

Comments
 (0)