Skip to content

Commit

Permalink
Review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tjquinno authored and romain-grecourt committed Aug 6, 2024
1 parent 1c800f5 commit 21c3eb5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions docs/src/main/asciidoc/mp/openapi/openapi-generator.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
include::{rootdir}/includes/mp.adoc[]
:incdir: {rootdir}/includes/openapi
:gen-inc: {incdir}/openapi-generator.adoc
:helidon-client-xref: {restclient-page}
include::{rootdir}/includes/openapi/openapi-generator.adoc[tag=preamble]
Expand Down
2 changes: 1 addition & 1 deletion docs/src/main/asciidoc/se/openapi/openapi-generator.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ The following example illustrates this for the `findPetsByTags` operation and it
.The customized `findPetsByTags` method in the `PetApiImpl` class
----
include::{snippets}/[tags=PetServiceImplCustomclass-header;PetServiceImplCustomaddedFields;PetServiceImplCustomhandleFindPetsByTagsDecl;PetServiceImplCustomhandleFindPetsByTagsCustom;PetServiceImplCustomhandleFindPetsByTagsEnd, indent=0]
}
----
<1> Uses the same data store as in the earlier example.
<2> The `tags` parameter conveys the tag values to be matched in selecting pets to report. Other generated code extracts the runtime argument's value from the request and then automatically passes it to the method.
Expand Down Expand Up @@ -106,6 +105,7 @@ For each operation in an API the generator creates an inner class and, for each
Override how a parameter is extracted by following these steps, using the `AddPetOp` as an example.
. Write a class which extends the inner class for the operation.
. In that subclass override the relevant method.
+
.Customized `AddPetOp` class
[source,java]
Expand Down

0 comments on commit 21c3eb5

Please sign in to comment.