Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Patch on serdes test and allow to use generated AJV out of Express us…
…age (cdimascio#684) * Try catch serdes serialize and deserialize in order to avoid Internal Server Error and return BadRequest errors cdimascio#601 * Fix incorrect serDes example cdimascio#569 * fix the unit test and change message to a more human friendly description of the error cdimascio#601 * Allow to get the generated request AJV object in order to use it out of an OpenAPI and express usage (websocket...) cdimascio#683 * Add documentation for OpenApiValidator.ajv function initialization usage cdimascio#683 * ResponseValidator's Ajv can be useful too. So we return an object that contains both request ajv and response ajv : ```javascript ajvs = { req : 'Ajv object' res : 'Ajv object' } ``` cdimascio#683 * fix the unit test and change message to a more human friendly description of the error cdimascio#601 * Allow to get the generated request AJV object in order to use it out of an OpenAPI and express usage (websocket...) cdimascio#683 * Add documentation for OpenApiValidator.ajv function initialization usage cdimascio#683 * ResponseValidator's Ajv can be useful too. So we return an object that contains both request ajv and response ajv : ```javascript ajvs = { req : 'Ajv object' res : 'Ajv object' } ``` cdimascio#683 * Revert commits in order to push only bug fixes cdimascio#601 * Revert "ResponseValidator's Ajv can be useful too." This reverts commit 677cacf. * Revert "Add documentation for OpenApiValidator.ajv function initialization usage" This reverts commit a727f2d. * Revert "Allow to get the generated request AJV object in order to use it out of an OpenAPI and express usage (websocket...)" This reverts commit ad3e785. * Revert "ResponseValidator's Ajv can be useful too. So we return an object that contains both request ajv and response ajv : ```javascript ajvs = { req : 'Ajv object' res : 'Ajv object' } ``` cdimascio#683" This reverts commit 8fc7226 * Revert "Add documentation for OpenApiValidator.ajv function initialization usage" This reverts commit ecb8424. * Revert "Allow to get the generated request AJV object in order to use it out of an OpenAPI and express usage (websocket...)" This reverts commit 52429c5. Co-authored-by: Carmine DiMascio <cdimasci@amazon.com>
- Loading branch information