/** * @webpieces/http-api * * Core HTTP API definition package. * Contains decorators and utilities for defining HTTP APIs. * * This package is used by: * - @webpieces/http-routing (server-side): Routes HTTP requests to controllers * - @webpieces/http-client (client-side): Generates HTTP clients from API definitions * * Architecture: * ``` * http-api (defines the contract) * ↑ * ├── http-routing (server: contract → handlers) * └── http-client (client: contract → HTTP requests) * ``` */ export { ApiPath, Endpoint, Authentication, AuthenticationConfig, getApiPath, getEndpoints, isApiPath, getAuthMeta, validateNoConflictingDecorators, AuthMeta, RouteMetadata, METADATA_KEYS, } from './decorators'; export { ValidateImplementation } from './validators'; export { ProtocolError, HttpError, HttpNotFoundError, EndpointNotFoundError, HttpBadRequestError, HttpUnauthorizedError, HttpForbiddenError, HttpTimeoutError, HttpBadGatewayError, HttpGatewayTimeoutError, HttpInternalServerError, HttpVendorError, HttpUserError, ENTITY_NOT_FOUND, WRONG_LOGIN_TYPE, WRONG_LOGIN, NOT_APPROVED, EMAIL_NOT_CONFIRMED, WRONG_DOMAIN, WRONG_COMPANY, NO_REG_CODE, } from './errors'; export { InstantDto, DateDto, TimeDto, DateTimeDto, InstantUtil, DateUtil, TimeUtil, DateTimeUtil, } from './datetime'; export { PlatformHeader } from './PlatformHeader'; export { PlatformHeadersExtension } from './PlatformHeadersExtension'; export { HeaderMethods, ContextReader } from './HeaderMethods'; export { HEADER_TYPES } from './HeaderTypes'; export { LogApiCall } from './LogApiCall';