- setup required version of node-http-server to
0.66.x
- setup required version of node-http-server to
0.66.x
npm update
s
- implement
throwOnUnexpectedApiResponse()
function - code cleanups and improvements
npm update
s
- implement
createApiHandlerFactory()
factory function, which create strong typed API handlers
- module requires at least:
npm update
s
- module requires at least:
npm update
s
- add
createSwaggerStatSettings()
andsetupControllersWithSwaggerStats()
functions npm update
s- module requires at least:
- implement
loadSwaggerDocumentation()
andloadSwaggerDocumentationSync()
functions to load Swagger documentation from a directory with a strict file and folder structure npm update
s
- 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:
data
headers
messages
status
success
withSuccess()
- add
executeEnd
setting to IApiResponseBuilderOptions - add
options
argument to apiResponse()
- add createSwaggerSchemaForApiListResponse() function
- add withHeaders() method
- (bug-)fixes
- add createSwaggerSchemaForApiResponse() function
- add extendRequest() middleware
- add handleApiValidationError()
- fix ApiResponseData
- set
sourceMap
to(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