diff --git a/docs/Bruno-Collection/BPMN-PNML-Transformer/BPMN to PNML.bru b/docs/Bruno-Collection/BPMN-PNML-Transformer/BPMN to PNML.bru new file mode 100644 index 0000000..2bf444c --- /dev/null +++ b/docs/Bruno-Collection/BPMN-PNML-Transformer/BPMN to PNML.bru @@ -0,0 +1,19 @@ +meta { + name: BPMN to PNML + type: http + seq: 2 +} + +post { + url: https://europe-west3-woped-422510.cloudfunctions.net/transform?direction=bpmntopnml + body: formUrlEncoded + auth: none +} + +query { + direction: bpmntopnml +} + +body:form-urlencoded { + bpmn: Flow_03wmhzd Flow_03wmhzd Flow_06lknmg Flow_06lknmg +} diff --git a/docs/Bruno-Collection/BPMN-PNML-Transformer/Health.bru b/docs/Bruno-Collection/BPMN-PNML-Transformer/Health.bru new file mode 100644 index 0000000..15ce02c --- /dev/null +++ b/docs/Bruno-Collection/BPMN-PNML-Transformer/Health.bru @@ -0,0 +1,15 @@ +meta { + name: Health + type: http + seq: 3 +} + +get { + url: https://europe-west3-woped-422510.cloudfunctions.net/health?message=testMessage + body: none + auth: none +} + +query { + message: testMessage +} diff --git a/docs/Bruno-Collection/BPMN-PNML-Transformer/PNML to BPMN.bru b/docs/Bruno-Collection/BPMN-PNML-Transformer/PNML to BPMN.bru new file mode 100644 index 0000000..ad21a7d --- /dev/null +++ b/docs/Bruno-Collection/BPMN-PNML-Transformer/PNML to BPMN.bru @@ -0,0 +1,19 @@ +meta { + name: PNML to BPMN + type: http + seq: 1 +} + +post { + url: https://europe-west3-woped-422510.cloudfunctions.net/transform?direction=pnmltobpmn + body: formUrlEncoded + auth: none +} + +query { + direction: pnmltobpmn +} + +body:form-urlencoded { + pnml: p1 p2 t1 1 1 1 1.0 false 1 1.0 false 100 739 true 100 true false +} diff --git a/docs/Bruno-Collection/BPMN-PNML-Transformer/bruno.json b/docs/Bruno-Collection/BPMN-PNML-Transformer/bruno.json new file mode 100644 index 0000000..1d4e8e4 --- /dev/null +++ b/docs/Bruno-Collection/BPMN-PNML-Transformer/bruno.json @@ -0,0 +1,9 @@ +{ + "version": "1", + "name": "BPMN-PNML-Transformer", + "type": "collection", + "ignore": [ + "node_modules", + ".git" + ] +} \ No newline at end of file diff --git a/docs/openapi.yaml b/docs/openapi.yaml index 3e2a50c..bd6e2d9 100644 --- a/docs/openapi.yaml +++ b/docs/openapi.yaml @@ -18,7 +18,7 @@ paths: enum: [bpmntopnml, pnmltobpmn] description: Specifies the direction of the transformation. requestBody: - description: "Info: Swagger only works if the XML does not contain any line breaks and all quotation marks are escaped with a backslash as shown in the examples. For other XMLs you could use tools like Bruno." + description: "Info: Swagger only works if the XML does not contain any line breaks and all quotation marks are escaped with a backslash as shown in the examples. Furthermore, the error cases are not correctly displayed in Swagger. For a better experience please use the Bruno Collection from the repository." required: true content: application/x-www-form-urlencoded: