UNPKG

@lokalise/api-contracts

Version:
15 lines (14 loc) 410 B
/** * Sentinel marking that a POST/PUT/PATCH contract takes **no request body**. * * @example * defineApiContract({ * visibility: 'public', * summary: 'Trigger reindex', * method: 'post', * requestBodySchema: ContractNoBody, * pathResolver: () => '/reindex', * responsesByStatusCode: { 202: z.object({ jobId: z.string() }) }, * }) */ export declare const ContractNoBody: unique symbol;