Skip to content

[Schema Inaccuracy] Example and schema mismatch for #/paths/~1orgs~1{org}~1artifacts~1metadata~1deployment-record~1cluster~1{cluster}/post #5684

@rahulsom

Description

@rahulsom

Schema Inaccuracy

This is the json ref for the example

#/paths/~1orgs~1{org}~1artifacts~1metadata~1deployment-record~1cluster~1{cluster}/post/requestBody/content/application~1json/examples/default/value

The field cluster doesn't exist in the schema, but exists in the example.

Here's a snippet

    1: {
>   2:   "cluster" : "moda-1",
    3:   "deployment_name" : "deployment-pod",
    4:   "digest" : "sha256:1bb1e949e55dcefc6353e7b36c8897d2a107d8e8dca49d4e3c0ea8493fc0bc72",
    5:   "logical_environment" : "prod",
    6:   "name" : "awesome-image",

Affected Schema Refs

#/paths/~1orgs~1{org}~1artifacts~1metadata~1deployment-record~1cluster~1{cluster}/post

Expected

The schema and example are in sync

Reproduction Steps

I could reproduce this in

  • fpt
  • ghec

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