osprey-method-handler
osprey-method-handler copied to clipboard
Middleware for validating requests and responses based on a RAML method object
Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project. #### Changes included in this PR - Changes to the following...
Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project. #### Changes included in this PR - Changes to the following...
RAML 1.0 and AML-AMF WebApi allow query string parameters to be defined as either **queryParameters** xor **queryString**. RAML 1.0 defines queryParameters as a properties declaration list and queryString as a...
*** 🚨 **Reminder!** Less than one month left to migrate your repositories over to Snyk before Greenkeeper says goodbye on June 3rd! 💜 🚚💨 💚 [Find out how to migrate...
Welcome to [Renovate](https://renovatebot.com)! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin. :vertical_traffic_light: To activate Renovate, merge this Pull Request. To disable...
In cases where the schema field of a request body declaration for `application/json` type refers to a named schema declared in the root section of the RAML content as in...
Currently `ajv` throws a warning (and will throw an error from `ajv@5`) for unknown formats, such as `etag`, `long`, etc. They can be silenced using `unknownFormats` flag.
Validate responses match the RAML schemas for methods. - Status code - Response body - Response headers
https://github.com/mulesoft-labs/osprey-method-handler/blob/master/osprey-method-handler.js#L180