Skip to content

Horizon Server API 2506 has an invalid response code in deleteGatewayCertificate #19

@PatrickDittrich

Description

@PatrickDittrich

The rest API docs/horizon-server/versions/2506/rest-api-swagger-docs.json has an invalid response code in deleteGatewayCertificate

"/config/v1/gateways/certificates/{id}": {
	"delete": {
		"description": "All the listed privileges are required -  \n| Privileges | Description |\n| ---- | ---- |\n| GLOBAL_CONFIG_MANAGEMENT | Caller should have permission to this privilege, to perform this operation. |",
		"operationId": "deleteGatewayCertificate",
		"parameters": [
			{
				"in": "path",
				"name": "id",
				"required": true,
				"schema": {
					"type": "string"
				}
			}
		],
		"responses": {
			"204": {
				"description": "No Content"
			},
			"401": {
				"description": "User is not authenticated"
			},
			"403": {
				"description": "Access to the resource is forbidden"
			},
			"429": {
				"description": "Too many requests"
			},
			"Not Found": {
				"description": "Not Found"
			}
		},
		"security": [
			{
				"Bearer": [
				]
			}
		],
		"summary": "Deletes the gateway certificate.",
		"tags": [
			"Config"
		]
	}
},

Please change it to "404" from "Not Found"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions