mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-13 04:16: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 =
|
this.id =
|
||||||
operationSpec.operationId !== undefined
|
operationSpec.operationId !== undefined
|
||||||
? 'operation/' + operationSpec.operationId
|
? 'operation/' + operationSpec.operationId
|
||||||
: this.parent !== undefined
|
: parent !== undefined
|
||||||
? this.parent.id + operationSpec._$ref
|
? parent.id + operationSpec._$ref
|
||||||
: operationSpec._$ref;
|
: operationSpec._$ref;
|
||||||
|
|
||||||
this.name = getOperationSummary(operationSpec);
|
this.name = getOperationSummary(operationSpec);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user