@stoplight/prism-core
Advanced tools
Changelog
3.1.1 (2019-09-23)
application/json
instead of using it as a "fallback" serializer, fixing some conditions where it wouldn't get triggered correctly. #604required
properties for combined schemas (oneOf, allOf
). This is coming through an update to the Json Schema Faker Library #623403
status code; all these occurences have been now replaced with a 401
status code which is more appropriate #625Changelog
3.1.0 (2019-09-03)
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 #578Changelog
3.0.4 (2019-08-20)
--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)Changelog
3.0.3 (2019-07-25)
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.Changelog
3.0.1 (2019-07-16)
Changelog
3.0.0-beta.6 (2019-07-12)
required
property in OpenAPI 2 body parameters #450default
response definition #445