Turn any OpenAPI2/3 and Postman Collection file into an API server with mocking, transformations and validations.
APACHE-2.0 License
Bot releases are visible (Hide)
proxy
command that will validate the request coming in, send the request to an upstream server and then validate the response coming back #669
additionalProperties:false
/ additionalProperties:true
/ additionalProperties:object
will be correctly handled when dynamic mocking is enabled #719
deprecated
parameter is no longer causing Prism to return a 422 response #721
access-control-allow-origin
header, when CORS is enabled, will now reflect the request origin AND set the Credentials header #797
Accept
header, Prism will now effectively treat it as a */*
, according to the respective RFC #802
text/*
instead of only text/plain
#796
application/json
instead of using it as a "fallback" serializer, fixing some conditions where it wouldn't get triggered correctly. #604
required
properties for combined schemas (oneOf, allOf
). This is coming through an update to the Json Schema Faker Library #623
403
status code; all these occurences have been now replaced with a 401
status code which is more appropriate #625
example
keyword for a Schema Object in OpenAPI 3.0 documents #560text/plain
response whose content is a primitive (string, number) #560/test.{format}
, while it would previously not match with anything. #561allowEmptyValue
property in OAS2 documents #569csv
collection format argument property in OAS2 documents #577*/*
as Accept header #578--cors
flag set to false #525nullable
value for OpenAPI 3.x documents when generating examples #506encodings
with non specified style
property #507application/x-www-urlencoded
(form data) params (#483)406
error instead of an empty response in case it is not able to find a response whose content type satisfies the provided Accept
Headerq
value in the Accept
header to specify the content type preferencetext/plain
when the document does not specify any Content Type for the examplesAccept
header for OAS2 documents404
instead of 500
in case the requested named example does not exist in the documentyargs
for its command line interface, replacing oclif.Published by pytlesk4 over 5 years ago
Published by stoplight-bot over 5 years ago
We are excited to announce the release of Prism v3, which contains significant upgrades, including:
Published by pytlesk4 over 5 years ago
Published by pytlesk4 over 5 years ago
Published by pytlesk4 over 5 years ago
New: Added --skip-verify
option to prism mock
, prism serve
and prism validate
commands to disable ssl cert verification.
Fix: Support example property when dynamically mocking a JSON Schema
Fix: Improve mock 400 response when request is invalid
Fix: Date format mocking
Fix: Mocking property pattern on JSON Schema
Fix: Time format mocking
Fix: Loading environment variables from a url
Published by pytlesk4 about 6 years ago
Published by pytlesk4 about 6 years ago
Published by pytlesk4 over 6 years ago
Published by pytlesk4 over 6 years ago
Published by pytlesk4 over 6 years ago