Skip to content

PURISTA API


PURISTA API / @purista/hono-http-server / getProblemDetailsSchema

Function: getProblemDetailsSchema()

getProblemDetailsSchema(code, message, schema?, problemTypeConfig?): SchemaObject

Defined in: hono-http-server/src/helper/problemDetails.ts:235

Parameters

code

StatusCode

message

string

schema?

SchemaObject

problemTypeConfig?

ProblemTypeConfig

Returns

SchemaObject