Skip to content

Duplicate operationId in openapi.yaml #648

@apiarya

Description

@apiarya

openapi.yaml posted here are invalid and failing validation. Among the many issues, there is one specific error that operationIds are not unique.

e.g. operationId: drives.drive.items.driveItem.workbook.worksheets.workbookWorksheet.range.cell is used multiple times in above openapi.yaml file at line number 164872 and 167647.

grep "drives.drive.items.driveItem.workbook.worksheets.workbookWorksheet.range.cell" graph/openapi.yaml -n
164872:      operationId: drives.drive.items.driveItem.workbook.worksheets.workbookWorksheet.range.cell
167647:      operationId: drives.drive.items.driveItem.workbook.worksheets.workbookWorksheet.range.cell

Steps to reproduce

Use any openapi validator.

Expected result

An operationId needs to be unique, there can't be any duplicates in the document, you can't re-use them. Make sure the ID used for this operation is unique.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions