Problem Details

RFC 7807 Problem Details for HTTP APIs with type, title, status, and detail.

Report an issue
api

Install

$ npx shadcn@latest add @open-types/problem-details

Source

export interface ProblemDetails {
  type?: string;
  title?: string;
  status?: number;
  detail?: string;
  instance?: string;
}
export interface ProblemDetails {
  type?: string;
  title?: string;
  status?: number;
  detail?: string;
  instance?: string;
}