Skip to content

[Schema Inaccuracy] /repos/{org}/{repo}/actions/required_workflows should be /repos/{owner}/{repo}/actions/required_workflows #2429

Open
@baywet

Description

@baywet

Schema Inaccuracy

It's technically invalid from an OpenAPI perspective to have two different single path parameters at the same level. This is because they can't be differentiated and they might have operations that collide between one another.

Expected

  • /repos/{org}/{repo}/actions/required_workflows should be /repos/{owner}/{repo}/actions/required_workflows
  • /repos/{org}/{repo}/actions/required_workflows/{required_workflow_id_for_repo} should be /repos/{owner}/{repo}/actions/required_workflows/{required_workflow_id_for_repo}
  • /repos/{org}/{repo}/actions/required_workflows/{required_workflow_id_for_repo}/timing should be /repos/{owner}/{repo}/actions/required_workflows/{required_workflow_id_for_repo}/timing

Reproduction Steps

N/A

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