Skip to content

Need option to control the responses for each operation in openapi.yaml #509

@devadathvijay

Description

@devadathvijay

Keys.json>>
"uris": {
"/redfish/v1/AccountService/Accounts/{ManagerAccountId}/Keys/{KeyId}": {
"@ResponseCodes": {
"DELETE": [
"204"
],
"GET": [
"200"
],
"PATCH": [
"200"
]
},
"@meta.Enabled": true
},
only responses which specified in list will be added to the openapi.yaml,

default method to responsecode ={
"get":["200"],
"patch":["200","202","204"],
"post":["201","202","204"],
"put":["200","202","204"],
"delete":["200","202","204"]
}

@abhirupseal @mraineri

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions