Skip to content

Commit

Permalink
Merge pull request #79 from OAI/frankkilcommins/issue74
Browse files Browse the repository at this point in the history
Settle on "Workflows Description"
  • Loading branch information
frankkilcommins authored Nov 8, 2023
2 parents faef8dc + def94e2 commit 7df0fcd
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 44 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.vscode/settings.json
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"cSpell.words": [
"ruleset"
"ruleset",
"Templating"
]
}
2 changes: 1 addition & 1 deletion examples/1.0.0/FAPI-PAR.workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ info:
version: 1.0.0
description: >-
A workflow describing how to obtain a token from an OAuth2 and OpenID Connect Financial Grade authorization server which can be common for PSD2 API journeys
sourceDocuments:
sourceDescriptions:
- name: auth-api
url: ./FAPI-PAR.openapi.yaml
type: openapi
Expand Down
6 changes: 3 additions & 3 deletions examples/1.0.0/LoginAndRetrievePets.workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ info:
description: |
This workflow walks you through the steps of `searching` for, `selecting`, and `purchasing` an available pet.
version: 1.0.1
sourceDocuments:
- name: petStoreDefinition
sourceDescriptions:
- name: petStoreDescription
url: https://github.com/swagger-api/swagger-petstore/blob/master/src/main/resources/openapi.yaml
type: openapi

Expand All @@ -24,7 +24,7 @@ workflows:
steps:
- stepId: loginStep
description: This step demonstrates the user login step
operationId: petStoreDefinition.loginUser
operationId: petStoreDescription.loginUser
parameters:
# parameters to inject into the loginUser operation (parameter name must be resolvable at the referenced operation and the value is determined using {expression} syntax)
- name: username
Expand Down
2 changes: 1 addition & 1 deletion examples/1.0.0/oauth.workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ info:
version: 1.0.0
description: >-
APImetrics OAuth service
sourceDocuments:
sourceDescriptions:
- name: apim-auth
url: ./oauth.openapi.yaml
type: openapi
Expand Down
2 changes: 1 addition & 1 deletion examples/1.0.0/pet-coupons.workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ info:
Illustrates a workflow whereby a client a) finds a pet in the petstore,
b) finds coupons for that pet, and finally
c) orders the pet while applying the coupons from step b.
sourceDocuments:
sourceDescriptions:
- name: pet-coupons
url: ./pet-coupons.openapi.yaml
type: openapi
Expand Down
76 changes: 39 additions & 37 deletions versions/1.0.0.md

Large diffs are not rendered by default.

0 comments on commit 7df0fcd

Please sign in to comment.