- setup required version of node-http-server to
0.66.x
- setup required version of node-http-server to
0.66.x npm updates
- implement
throwOnUnexpectedApiResponse()function - code cleanups and improvements
npm updates
- implement
createApiHandlerFactory()factory function, which create strong typed API handlers
- module requires at least:
npm updates
- module requires at least:
npm updates
- add
createSwaggerStatSettings()andsetupControllersWithSwaggerStats()functions npm updates- module requires at least:
- implement
loadSwaggerDocumentation()andloadSwaggerDocumentationSync()functions to load Swagger documentation from a directory with a strict file and folder structure npm updates
- implement
handleApiParseError(), which creates standardrized error handlers for invalid JSON, e.g.
- fix parseListQuery()
- apply new eslint-config-ego settings
- module requires at least:
- code and other project cleanups
- add following props and methods to ApiResponseBuilder:
dataheadersmessagesstatussuccesswithSuccess()
- add
executeEndsetting to IApiResponseBuilderOptions - add
optionsargument to apiResponse()
- add createSwaggerSchemaForApiListResponse() function
- add withHeaders() method
- (bug-)fixes
- add createSwaggerSchemaForApiResponse() function
- add extendRequest() middleware
- add handleApiValidationError()
- fix ApiResponseData
- set
sourceMapto(false) - other (bug-)fixes
- add parseListQuery, which creates middlewares to parse and validate query params, which can be used to realize list / collection cursors
- initial release