Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 5 additions & 0 deletions .changeset/blue-coats-rescue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@redocly/openapi-core": patch
---

Removed support for `in: body` parameters due to Arazzo specification updates.
2 changes: 1 addition & 1 deletion packages/core/src/types/arazzo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const ReusableObject: NodeType = {
};
const Parameter: NodeType = {
properties: {
in: { type: 'string', enum: ['header', 'query', 'path', 'cookie', 'body'] },
in: { type: 'string', enum: ['header', 'query', 'path', 'cookie'] },
name: { type: 'string' },
value: {}, // any
},
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/typings/arazzo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export interface ArazzoSourceDescription {
export type SourceDescription = OpenAPISourceDescription | ArazzoSourceDescription;

export interface Parameter {
in?: 'header' | 'query' | 'path' | 'cookie' | 'body';
in?: 'header' | 'query' | 'path' | 'cookie';
name: string;
value: string | number | boolean;
reference?: string;
Expand Down
Loading