v2.0.11

@pytlesk4 pytlesk4 released this Jul 10, 2018 · 2 commits to 2.x since this release

Overview

  • fix downloading exporting versions from stoplight when conducting scenarios and serving prism instances
  • fix resolving complicated circular ref chains

v2.0.9

@pytlesk4 pytlesk4 released this Apr 30, 2018 · 4 commits to 2.x since this release

Overview

  • set status code on options so that prism doesn't try to forward request when mocking
  • fix local refs for prism instances
  • fixes automatic status code assertions
  • pass oas specs between scenario refs properly

v2.0.7

@pytlesk4 pytlesk4 released this Apr 12, 2018 · 6 commits to 2.x since this release

Overview

  • update prism mock command

    • Mock server now respects security schemes and will return a 401/403 if defined in your oas
    • Request body and headers are validated.
    • If request validation fails, then respond with a 400 response defined in your spec.
    • Add CORs
    • Validate response body and headers

v2.0.6

@pytlesk4 pytlesk4 released this Apr 12, 2018 · 7 commits to 2.x since this release

Overview

  • Prism Instances modify the location header by setting the host to the prism host
  • Add "type" property to validation message, type is the type of validation error
  • Don't dereference specs that are already dereferenced