Skip to content

Commit

Permalink
feat: remove x-parameters extension for Spot (#1762)
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitryAnansky authored Oct 11, 2024
1 parent f3a141b commit 6a4fa9d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .changeset/stupid-suits-deny.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@redocly/openapi-core": patch
"@redocly/cli": patch
---

Removed the support of the `x-parameters` extension for Arazzo description files.
1 change: 0 additions & 1 deletion packages/core/src/bundle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,6 @@ export function mapTypeToComponent(typeName: string, version: SpecMajorVersion)
}
case SpecMajorVersion.Arazzo:
switch (typeName) {
case 'Root.x-parameters_items':
case 'Root.workflows_items.parameters_items':
case 'Root.workflows_items.steps_items.parameters_items':
return 'parameters';
Expand Down
1 change: 0 additions & 1 deletion packages/core/src/types/arazzo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ const Root: NodeType = {
arazzo: { type: 'string' },
info: 'Info',
sourceDescriptions: 'SourceDescriptions',
'x-parameters': 'Parameters',
workflows: 'Workflows',
components: 'Components',
},
Expand Down
1 change: 0 additions & 1 deletion packages/core/src/typings/arazzo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ export interface ArazzoDefinition {
arazzo: '1.0.0';
info: InfoObject;
sourceDescriptions: SourceDescription[];
'x-parameters'?: Parameter[];
workflows: Workflow[];
components?: {
inputs?: {
Expand Down

1 comment on commit 6a4fa9d

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage report

St.
Category Percentage Covered / Total
🟡 Statements 78.56% 4993/6356
🟡 Branches 67.21% 2062/3068
🟡 Functions 72.98% 824/1129
🟡 Lines 78.85% 4711/5975

Test suite run success

809 tests passing in 121 suites.

Report generated by 🧪jest coverage report action from 6a4fa9d

Please sign in to comment.