UNPKG

next-rest-framework

Version:

Next REST Framework - write type-safe, self-documenting REST APIs in Next.js

23 lines (22 loc) 578 B
export declare const DEFAULT_MESSAGES: { created: string; noContent: string; }; export declare const DEFAULT_ERRORS: { unexpectedError: string; methodNotAllowed: string; notFound: string; invalidMediaType: string; }; export declare const OPEN_API_VERSION = "3.0.1"; export declare enum ValidMethod { GET = "GET", PUT = "PUT", POST = "POST", DELETE = "DELETE", OPTIONS = "OPTIONS", HEAD = "HEAD", PATCH = "PATCH" } export declare const NEXT_REST_FRAMEWORK_USER_AGENT = "next-rest-framework"; export declare const VERSION: any;