Skip to content

Commit

Permalink
fix: regression - broken urls for operations without operationId
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanHotsiy committed Jul 14, 2018
1 parent 9f0252e commit c0c44bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/services/models/Operation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ export class OperationModel implements IMenuItem {
this.id =
operationSpec.operationId !== undefined
? 'operation/' + operationSpec.operationId
: this.parent !== undefined
? this.parent.id + operationSpec._$ref
: parent !== undefined
? parent.id + operationSpec._$ref
: operationSpec._$ref;

this.name = getOperationSummary(operationSpec);
Expand Down

0 comments on commit c0c44bc

Please sign in to comment.