Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Commit

Permalink
fix: fix missing parameters (Redocly#1142)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan Cerman committed Jun 5, 2020
1 parent 34a73b2 commit d575e37
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/services/models/Operation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ export class OperationModel implements IMenuItem {
operationSpec.operationId !== undefined
? 'operation/' + operationSpec.operationId
: parent !== undefined
? parent.id + this.pointer
: this.pointer;
? parent.id + this.pointer
: this.pointer;

this.name = getOperationSummary(operationSpec);
this.description = operationSpec.description;
Expand Down Expand Up @@ -159,6 +159,8 @@ export class OperationModel implements IMenuItem {
if (this.options.requiredPropsFirst) {
return sortByRequired(_parameters);
}

return _parameters;
}

@memoize
Expand Down

0 comments on commit d575e37

Please sign in to comment.