UNPKG

1.24 kBTypeScriptView Raw
1/**
2 * The REST API package for loopback-next.
3 *
4 * @remarks
5 * A REST server for LoopBack 4 application instances, complete with:
6 *
7 * - new custom routing engine (special thanks to @bajtos)!
8 * - tools for defining your application routes
9 * - OpenAPI 3.0 spec (openapi.json/openapi.yaml) generation using
10 * @loopback/openapi-v3
11 * - a default sequence implementation to manage the request and response
12 * lifecycle
13 *
14 *
15 * @packageDocumentation
16 */
17export * from '@loopback/openapi-v3';
18export { ErrorHandlerOptions, ErrorWriterOptions, StrongErrorHandler, writeErrorToResponse, } from 'strong-error-handler';
19export * from './body-parsers';
20export * from './http-handler';
21export * from './keys';
22export * from './parse-json';
23export * from './parser';
24export * from './providers';
25export * from './request-context';
26export * from './rest-http-error';
27export * from './rest.application';
28export * from './rest.component';
29export * from './rest.server';
30export * from './router';
31export * from './sequence';
32export * from './spec-enhancers/info.spec-enhancer';
33export * from './types';
34export * from './validation/request-body.validator';
35export * from './writer';
36export { HttpErrors };
37import HttpErrors from 'http-errors';