Skip to content
Open
Show file tree
Hide file tree
Changes from 5 commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
5649bbd
feat: add parameters field to Success and Failure in arrazo
harshit078 May 4, 2026
7646ee8
Merge branch 'main' into pass-workflow-input-to-actions
harshit078 May 7, 2026
c46b071
feat: added spec parameters for arrazo rules in config
harshit078 May 7, 2026
613e9a3
feat: added specs parameters logic and test with changeset
harshit078 May 8, 2026
6b7e963
Merge branch 'main' into pass-workflow-input-to-actions
harshit078 May 8, 2026
a41e2aa
Merge branch 'main' into pass-workflow-input-to-actions
harshit078 May 18, 2026
e057bd1
fix: address comments and added docs
harshit078 May 18, 2026
f218352
Merge branch 'main' into pass-workflow-input-to-actions
harshit078 May 18, 2026
28c0ac1
fix: failing markdownlint failing test
harshit078 May 18, 2026
c3223dc
fix: markdownlint failing test
harshit078 May 18, 2026
f3ffcdd
fix: address comments and updated changset and used paramters interface
harshit078 May 20, 2026
db9eb6b
fix: added spec parameter test
harshit078 May 20, 2026
83a27cb
fix: minor lint fix
harshit078 May 20, 2026
ffd8f5a
Merge branch 'main' into pass-workflow-input-to-actions
harshit078 May 20, 2026
a0470a4
fix: address comment and fix verbiage
harshit078 May 28, 2026
ba3b600
Merge branch 'main' into pass-workflow-input-to-actions
harshit078 May 28, 2026
667cf82
feat: added actionParameters in replacement of parameters
harshit078 May 28, 2026
af9e4be
feat: added actionParameters for workflow actions
harshit078 May 28, 2026
8b47027
fix: updated tests
harshit078 May 28, 2026
d0fc683
feat: added mapParametersToWorkflowInputs function in run step for be…
harshit078 May 28, 2026
50a990e
feat: added mapParametersToWorkflowInput tests
harshit078 May 28, 2026
f7deff3
fix: address cursor comments
harshit078 May 28, 2026
03b6896
fix: address comments and fix linting errors
harshit078 May 29, 2026
c095135
Merge branch 'main' into pass-workflow-input-to-actions
harshit078 May 29, 2026
1ff644f
fix: linting errors
harshit078 May 29, 2026
b12d4c7
fix: failing build test
harshit078 May 29, 2026
a58b507
fix: failing lint test
harshit078 Jun 2, 2026
41b8546
fix: failing lint test
harshit078 Jun 2, 2026
ce4f733
fix: remove x-allowedReserved from actionParameter
harshit078 Jun 4, 2026
a14a54b
fix: updated changesets
harshit078 Jun 4, 2026
a1443a6
fix: updated validation for in field in parameters
harshit078 Jun 4, 2026
e1820da
Merge branch 'main' into pass-workflow-input-to-actions
harshit078 Jun 4, 2026
64f339e
fix: updated tests for in field now
harshit078 Jun 4, 2026
ae9e4c7
fix: failing e2e tests and added snapshots
harshit078 Jun 4, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .changeset/swift-otters-wander.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@redocly/openapi-core": minor
"@redocly/respect-core": minor
"@redocly/cli": minor
---

Added the `spec-parameters-in-by-context` Arazzo rule, which validates that a parameter's `in` field is specified when the parent step, success action, or failure action does not reference a `workflowId`. Extended success and failure action objects to accept a `parameters` property that maps to workflow inputs.
Comment thread
harshit078 marked this conversation as resolved.
Outdated
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ exports[`resolveConfig > should ignore minimal from the root and read local file
"sourceDescription-name-unique": "error",
"sourceDescription-type": "error",
"sourceDescriptions-not-empty": "error",
"spec-parameters-in-by-context": "warn",
"step-onFailure-unique": "warn",
"step-onSuccess-unique": "warn",
"stepId-unique": "error",
Expand Down Expand Up @@ -407,6 +408,7 @@ exports[`resolveConfig > should resolve extends with local file config which con
"sourceDescription-name-unique": "error",
"sourceDescription-type": "error",
"sourceDescriptions-not-empty": "error",
"spec-parameters-in-by-context": "warn",
"step-onFailure-unique": "warn",
"step-onSuccess-unique": "warn",
"stepId-unique": "error",
Expand Down
6 changes: 6 additions & 0 deletions packages/core/src/config/__tests__/load.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ describe('loadConfig', () => {
"sourceDescription-name-unique": "off",
"sourceDescription-type": "off",
"sourceDescriptions-not-empty": "off",
"spec-parameters-in-by-context": "off",
"step-onFailure-unique": "off",
"step-onSuccess-unique": "off",
"stepId-unique": "error",
Expand Down Expand Up @@ -466,6 +467,7 @@ describe('loadConfig', () => {
"sourceDescription-name-unique": "error",
"sourceDescription-type": "error",
"sourceDescriptions-not-empty": "error",
"spec-parameters-in-by-context": "warn",
"step-onFailure-unique": "warn",
"step-onSuccess-unique": "warn",
"stepId-unique": "error",
Expand Down Expand Up @@ -795,6 +797,7 @@ describe('loadConfig', () => {
"sourceDescription-name-unique": "off",
"sourceDescription-type": "off",
"sourceDescriptions-not-empty": "off",
"spec-parameters-in-by-context": "off",
"step-onFailure-unique": "off",
"step-onSuccess-unique": "off",
"stepId-unique": "error",
Expand Down Expand Up @@ -1208,6 +1211,7 @@ describe('loadConfig', () => {
"sourceDescription-name-unique": "off",
"sourceDescription-type": "off",
"sourceDescriptions-not-empty": "off",
"spec-parameters-in-by-context": "off",
"step-onFailure-unique": "off",
"step-onSuccess-unique": "off",
"stepId-unique": "error",
Expand Down Expand Up @@ -1532,6 +1536,7 @@ describe('loadConfig', () => {
"sourceDescription-name-unique": "error",
"sourceDescription-type": "error",
"sourceDescriptions-not-empty": "error",
"spec-parameters-in-by-context": "warn",
"step-onFailure-unique": "warn",
"step-onSuccess-unique": "warn",
"stepId-unique": "error",
Expand Down Expand Up @@ -1861,6 +1866,7 @@ describe('loadConfig', () => {
"sourceDescription-name-unique": "off",
"sourceDescription-type": "off",
"sourceDescriptions-not-empty": "off",
"spec-parameters-in-by-context": "off",
"step-onFailure-unique": "off",
"step-onSuccess-unique": "off",
"stepId-unique": "error",
Expand Down
1 change: 1 addition & 0 deletions packages/core/src/config/all.ts
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ const all: RawGovernanceConfig<'built-in'> = {
'sourceDescription-name-unique': 'error',
'sourceDescription-type': 'error',
'sourceDescriptions-not-empty': 'error',
'spec-parameters-in-by-context': 'error',
'step-onFailure-unique': 'error',
'step-onSuccess-unique': 'error',
'stepId-unique': 'error',
Expand Down
1 change: 1 addition & 0 deletions packages/core/src/config/minimal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ const minimal: RawGovernanceConfig<'built-in'> = {
'sourceDescription-name-unique': 'off',
'sourceDescription-type': 'off',
'sourceDescriptions-not-empty': 'off',
'spec-parameters-in-by-context': 'off',
'step-onFailure-unique': 'off',
'step-onSuccess-unique': 'off',
'stepId-unique': 'error',
Expand Down
1 change: 1 addition & 0 deletions packages/core/src/config/recommended-strict.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ const recommendedStrict: RawGovernanceConfig<'built-in'> = {
'sourceDescription-name-unique': 'error',
'sourceDescription-type': 'error',
'sourceDescriptions-not-empty': 'error',
'spec-parameters-in-by-context': 'error',
'step-onFailure-unique': 'error',
'step-onSuccess-unique': 'error',
'stepId-unique': 'error',
Expand Down
1 change: 1 addition & 0 deletions packages/core/src/config/recommended.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ const recommended: RawGovernanceConfig<'built-in'> = {
'sourceDescription-name-unique': 'error',
'sourceDescription-type': 'error',
'sourceDescriptions-not-empty': 'error',
'spec-parameters-in-by-context': 'warn',
'step-onFailure-unique': 'warn',
'step-onSuccess-unique': 'warn',
'stepId-unique': 'error',
Expand Down
1 change: 1 addition & 0 deletions packages/core/src/config/spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ const spec: RawGovernanceConfig<'built-in'> = {
'sourceDescription-name-unique': 'error',
'sourceDescription-type': 'error',
'sourceDescriptions-not-empty': 'error',
'spec-parameters-in-by-context': 'error',
'step-onFailure-unique': 'error',
'step-onSuccess-unique': 'error',
'stepId-unique': 'error',
Expand Down
Loading
Loading