Skip to content

Commit 73b8118

Browse files
authored
Merge pull request #92779 from kaldesai/SRVLOGIC-467-updates
PR for SRVLOGIC-467: Enhance the "Configuring OpenAPI services" section with the correct references.
2 parents 2c82f33 + 6ecfb6f commit 73b8118

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

modules/serverless-logic-openAPI-function-definition.adoc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,14 @@
2222

2323
The `operation` attribute is a `string` composed of the following parameters:
2424

25-
* `URI`: The engine uses this to locate the specification file, such as `classpath`.
25+
* `URI`: The engine uses this to locate the specification file.
2626
2727
* Operation identifier: You can find this identifier in the OpenAPI specification file.
2828
2929
{ServerlessLogicProductName} supports the following URI schemes:
3030

31-
* classpath: Use this for files located in the `src/main/resources` folder of the application project. `classpath` is the default URI scheme. If you do not define a URI scheme, the file location is `src/main/resources/myopenapifile.yaml`.
3231
* file: Use this for files located in the file system.
33-
* http or https: Use these for remotely located files.
32+
* `http` or `https`: Use these for remotely located files.
3433
3534
Ensure the OpenAPI specification files are available during build time. {ServerlessLogicProductName} uses an internal code generation feature to send requests at runtime. After you build the application image, {ServerlessLogicProductName} will not have access to these files.
3635

serverless-logic/serverless-logic-managing-services/serverless-logic-configuring-openAPI-services-endpoints.adoc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The `kogito.sw.operationIdStrategy` property supports the following values: `FIL
1818
quarkus.rest-client.stock_portfolio_svc_yaml.url=http://localhost:8282/ # <1>
1919
----
2020
+
21-
<1> The OpenAPI File Path is `<project_application_dir>/specs/stock-portfolio-svc.yaml`. The generated key that configures the URL for the REST client is `stock_portfolio_svc_yaml`
21+
<1> The OpenAPI file path is `<project_application_dir>/specs/stock-portfolio-svc.yaml`. The generated key that configures the URL for the REST client is `stock_portfolio_svc_yaml`.
2222

2323
`FULL_URI`:: {ServerlessLogicProductName} uses the complete URI path of the OpenAPI document as the configuration key. The full URI is sanitized to form the key.
2424
+
@@ -33,7 +33,6 @@ quarkus.rest-client.stock_portfolio_svc_yaml.url=http://localhost:8282/ # <1>
3333
"operation": "https://my.remote.host/apicatalog/apis/123/document"
3434
}
3535
]
36-
...
3736
}
3837
----
3938
+
@@ -58,7 +57,6 @@ quarkus.rest-client.apicatalog_apis_123_document.url=http://localhost:8282/ <1>
5857
"operation": "https://my.remote.host/apicatalog/apis/123/document"
5958
}
6059
]
61-
...
6260
}
6361
----
6462
+

0 commit comments

Comments
 (0)