You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Patch on serdes test and allow to use generated AJV out of Express usage (#684)
* Try catch serdes serialize and deserialize in order to avoid Internal Server Error and return BadRequest errors #601
* Fix incorrect serDes example #569
* fix the unit test and change message to a more human friendly description of the error #601
* Allow to get the generated request AJV object in order to use it out of an OpenAPI and express usage (websocket...)
#683
* Add documentation for OpenApiValidator.ajv function initialization usage
#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'
}
```
#683
* fix the unit test and change message to a more human friendly description of the error #601
* Allow to get the generated request AJV object in order to use it out of an OpenAPI and express usage (websocket...)
#683
* Add documentation for OpenApiValidator.ajv function initialization usage
#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'
}
```
#683
* Revert commits in order to push only bug fixes#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' } ``` #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>
0 commit comments