Skip to content

[Schema Bug] Multiple different endpoints are using the same value for operationID GHES 3.12, GHES 3.13 #3720

Open
@wolfy1339

Description

@wolfy1339

Schema Inaccuracy

Multiple different endpoints are using the same value for operationID of enterprise-admin/get-manage-settings

  • GET /manage/v1/config/apply/events
  • GET /manage/v1/config/settings
  • GET /manage/v1/config/apply
  • POST /manage/v1/config/apply

Expected

Each endpoint has it's own uniuqe operationID
The the OpenAPI specs be free of bugs like this one that prevents it's usage

Reproduction Steps

N/A as it concerns the schema definitions and not actual response data

Suggested solution

I would like to suggest that the OpenAPI specs be passed through a linter of the likes of Redocly before publishing to minimize any bugs like this

See octokit/openapi-types.ts#429 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions