Documentation
¶
Overview ¶
Package problem checks that an error response is a problem details document (RFC 9457): the media type application/problem+json, a JSON object, and the standard members (type, title, status, detail, instance) used as the RFC says. Extension members are allowed and not looked at.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsProblemType ¶
IsProblemType says whether a Content-Type is application/problem+json or application/problem+xml.
Types ¶
type Violation ¶
Violation is one way a response is not a problem details document. Path is "Content-Type" or a JSON path.
Click to show internal directories.
Click to hide internal directories.