Skip to content

Commit

Permalink
Issue-591: Holistic review of non-quarkus service orchestration chapt…
Browse files Browse the repository at this point in the history
…er (#660)
  • Loading branch information
LuboTerifaj committed Jun 11, 2024
1 parent 2ff9d5e commit 620fd63
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ For more information about the tooling, see {getting-familiar-with-our-tooling}[
In the previous example function definition, the `type` attribute can be omitted as the link:{spec_doc_url}#Function-Definition[default value] is `rest`.
====

In the previous example, the `operation` attribute is a string, which is composed using the following parameters:
In the previous example, the `operation` attribute is a string composed of the following parameters:

* URI that the engine uses to locate the specification file, such as `classpath`.
* Operation identifier. You can find the operation identifier in the link:{open_api_spec_url}#fixed-fields-7[OpenAPI specification file].
Expand Down Expand Up @@ -180,7 +180,7 @@ components:
<2> Data structure of the REST operation.
--

. Use the same `operationId` to compose the final URI in the function definition as shown in the following example:
. Use the same `operationId` to compose the final URI in the workflow function definition as shown in the following example:
+
--
.OpenAPI functions definition in the Temperature Conversion example
Expand Down Expand Up @@ -221,7 +221,7 @@ After defining the function definitions, you can access the defined functions in
. Use a link:{spec_doc_url}#Action-Definition[workflow action] to call a function definition that you added.
+
--
Any workflow action that consists of a similar approach of referencing the functions that you used in the function definition can call a defined function.
Any workflow action can call a function defined in the function definition.
--

. To map the arguments of a function, you can refer to the parameters described in the link:{open_api_spec_url}#operation-object[Operation Object] section of OpenAPI specification.
Expand Down

0 comments on commit 620fd63

Please sign in to comment.