Package-level declarations

Entry pointRole
problemXmlContentInside a problemResponse/problemDefault block: add application/problem+xml beside the JSON body already documented.

The namespace written into the schema is urn:ietf:rfc:7807 — RFC 7807's, unchanged, because the wire format did not change when RFC 9457 obsoleted it.

Functions

Link copied to clipboard
fun Response.Builder.problemXmlContent(schema: JsonSchema = ProblemSchemas.problem)

Adds application/problem+xml beside whatever this response already documents.