From 07bb932b05544e0e31c74bfa35cca3620773b663 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20David?= Date: Fri, 5 Apr 2024 08:13:15 -0400 Subject: [PATCH] Issue-617 Replace specVersion with spec_version attribute (#618) Replace specVersion with spec_version attribute --- .../modules/ROOT/pages/core/working-with-parallelism.adoc | 8 ++++---- .../newsletter-subscription-example.adoc | 4 ++-- .../create-your-first-workflow-service.adoc | 4 ++-- ...nfiguring-openapi-services-endpoints-with-quarkus.adoc | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/serverlessworkflow/modules/ROOT/pages/core/working-with-parallelism.adoc b/serverlessworkflow/modules/ROOT/pages/core/working-with-parallelism.adoc index c4b992da3..a37347f1e 100644 --- a/serverlessworkflow/modules/ROOT/pages/core/working-with-parallelism.adoc +++ b/serverlessworkflow/modules/ROOT/pages/core/working-with-parallelism.adoc @@ -31,12 +31,12 @@ include::../../pages/_common-content/getting-started-requirement.adoc[] + -- .Example content for `parallel.sw.json` file -[source,json] +[source,json,subs="attributes+"] ---- { "id": "parallel", "version": "1.0", - "specVersion": "0.8", + "specVersion": "{spec_version}", "name": "Welcome to the Parallel dimension", "description": "Testing parallelism", "start": "Parallel", @@ -172,12 +172,12 @@ For more information, see < "version": "1.0", - "specVersion": "0.8", + "specVersion": "{spec_version}", "name": "Hello World Workflow", "description": "JSON based hello world workflow", "start": "Inject Hello World", <3> diff --git a/serverlessworkflow/modules/ROOT/pages/use-cases/advanced-developer-use-cases/service-orchestration/configuring-openapi-services-endpoints-with-quarkus.adoc b/serverlessworkflow/modules/ROOT/pages/use-cases/advanced-developer-use-cases/service-orchestration/configuring-openapi-services-endpoints-with-quarkus.adoc index c4414644a..3c76b43c7 100644 --- a/serverlessworkflow/modules/ROOT/pages/use-cases/advanced-developer-use-cases/service-orchestration/configuring-openapi-services-endpoints-with-quarkus.adoc +++ b/serverlessworkflow/modules/ROOT/pages/use-cases/advanced-developer-use-cases/service-orchestration/configuring-openapi-services-endpoints-with-quarkus.adoc @@ -22,11 +22,11 @@ Developing an application using a service that returns different results every t The `stock-profit` service contains the following workflow definition: .Workflow definition in `stock-profit` service -[source,json] +[source,json,subs="attributes+"] ---- { "id": "stockprofit", - "specVersion": "0.8", + "specVersion": "{spec_version}", "version": "2.0.0-SNAPSHOT", "name": "Stock profit Workflow", "start": "GetStockPrice",