mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-10 19:06:34 +03:00
fix: regression - broken urls for operations without operationId
This commit is contained in:
parent
9f0252e12e
commit
c0c44bc4fe
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user