Skip to content

Support RFC 9457 when describing error responses #1015

@milkshakeuk

Description

@milkshakeuk

Hi, have you considered implementing the RFC9457 standard into the openapi schema for error responses? there is a blog post talking about adopting this over on the swagger website.

currenty the schema for errors is just

    exception:
      type: object
      description: |-
        Information about the exception: an error code plus an optional description.
      required:
        - code
      properties:
        code:
          type: string
        description:
          type: string

i.e.

{
  "code": "string",
  "description": "string"
}

which I think could be improved by adopting RFC9457

Metadata

Metadata

Assignees

Labels

Part 1: CoreIssue related to Part 1 - Core

Type

No type

Projects

Status

To be drafted

Relationships

None yet

Development

No branches or pull requests

Issue actions