prism
prism copied to clipboard
Turn any OpenAPI2/3 and Postman Collection file into an API server with mocking, transformations and validations.
Addresses #2102 **Summary** This PR changes the condition of the HTTP server resolving the request body. It assumes that the body is null in case of an explicit `Content-Length: 0`....
Prism 4.10 Returning "Internal Server Error" when Content-Type header is set but body is empty/null
_This issue seems related to #1939_ ## Context I'm using Prism as a validator proxy under AppSync HTTP VTL (AWS services), which must pass a `Content-Type` (and a `Content-Lenght` computed...
When using the mock server with the [attached openapi definition](https://github.com/stoplightio/prism/files/9127719/openapi.txt) that validates just fine at https://validator.swagger.io/ I consistently get the following error when using ```prism mock ./openapi.yml``` instead of starting...
Bumps [nock](https://github.com/nock/nock) from 13.1.3 to 13.2.9. Release notes Sourced from nock's releases. v13.2.9 13.2.9 (2022-07-19) Bug Fixes README: Add notes about Scope vs Interceptor matchHeader calls (#2382) (d9bab65) v13.2.8 13.2.8...
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.7 to 3.2.10. Release notes Sourced from node-fetch's releases. v3.2.10 3.2.10 (2022-07-31) Bug Fixes ReDoS referrer (#1611) (2880238) v3.2.9 3.2.9 (2022-07-18) Bug Fixes Headers: don't forward secure...
Bumps [@types/signale](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/signale) from 1.4.2 to 1.4.4. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 3.4.1 to 4.2.1. Release notes Sourced from eslint-plugin-prettier's releases. v4.2.1 4.2.1 Patch Changes #485 5736ed5 Thanks @βJounQin! - chore: reuse prettierRcOptions instead of resolveConfig again v4.2.0 4.2.0...
Bumps [prettier](https://github.com/prettier/prettier) from 2.4.1 to 2.7.1. Release notes Sourced from prettier's releases. 2.7.1 π Changelog 2.7.0 diff π Release note 2.6.2 π Changelog 2.6.1 π Changelog 2.6.0 π Release note...
Issue: I am getting an `Error TypeError: Only HTTP(S) protocols are supported` on the Proxy function for https://supervillain.herokuapp.com/api-docs/ for all the calls. Instead, when I run the mock version, the...
By running the `mock` command using the prism-cli (v4.9.2) on a Mac M1 (Apple Silicon) using the Lima VM (Colima) it is crashing. The Mac execution of the prism mac...