-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Description
Problem
Current format $sourceDescriptions.<name>.<reference> is ambiguous - <reference> could be:
- A field from SourceDescription object (like
url) - An
operationIdfrom OpenAPI source - A
workflowIdfrom Arazzo source
If we have operationId="url" in source OpenAPI Document, or workflowId="url" in Arazzo Document, it becomes ambiguous.
Proposed Format (Unambiguous)
$sourceDescriptions.<sourceName>.<fieldName> # field access
$sourceDescriptions.<sourceName>.operation.<operationId> # operationId reference
$sourceDescriptions.<sourceName>.workflow.<workflowId> # workflowId reference (allows us to validate workflowId format)
Examples:
$sourceDescriptions.petStore.url→ field access$sourceDescriptions.petStore.operation.getPets→ operationId$sourceDescriptions.petStore.workflow.loginFlow→ workflowId
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels