Skip to content

[Schema Inaccuracy] Example and schema mismatch for #/paths/~1orgs~1{org}~1actions~1hosted-runners~1machine-sizes/get #5553

@rahulsom

Description

@rahulsom

Schema Inaccuracy

This is the json ref for the example

#/components/examples/actions-hosted-runner-machine-spec/value

The field cpu_cores doesn't exist in the schema, but exists in the example. It should be nested under machine_specs

Here's a snippet

    1: {
>   2:   "cpu_cores" : 4,
    3:   "id" : "4-core",
    4:   "memory_gb" : 16,
    5:   "storage_gb" : 150
    6: }

Expected

The schema and example are in sync

Reproduction Steps

I could reproduce this in

  • fpt

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