prism

Turn any OpenAPI2/3 and Postman Collection file into an API server with mocking, transformations and validations.

APACHE-2.0 License

Downloads
1.3M
Stars
4.3K
Committers
92

Bot releases are hidden (Show)

prism - v2.0.21

Published by pytlesk4 over 5 years ago

Overview

  • Fix int32 and int64 format validation
prism - v2.0.20

Published by pytlesk4 over 5 years ago

Overview

  • consistent mock results, fixes #264
prism - v2.0.19

Published by pytlesk4 over 5 years ago

Overview

  • #261 Fix query string validation
prism - 2.0.18

Published by pytlesk4 over 5 years ago

Overview

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

prism -

Published by pytlesk4 almost 6 years ago

Overview

  • Fix: Better error message when mocking fails,link to Prism FAQ when mocking fails
  • Fix: Can't set $$.env variables when reffing a scenario script
  • Fix: Can't override global security schemes
prism -

Published by pytlesk4 almost 6 years ago

Overview

  • Fix downloading oas, prism instances and scenario files
prism -

Published by pytlesk4 about 6 years ago

Overview

  • Consume new export api
  • Use jwt tokens for auth
  • Bug fixes
prism -

Published by pytlesk4 about 6 years ago

Overview

  • Better errors when loading oas, scenarios and prism instances fail
  • Update prism help command output
prism - v2.0.13

Published by pytlesk4 about 6 years ago

Overview

  • Fixes AWS Authentication
prism - v2.0.12

Published by pytlesk4 about 6 years ago

Overview

prism - v2.0.11

Published by pytlesk4 over 6 years ago

Overview

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

Published by pytlesk4 over 6 years ago

Overview

  • update mock scripts
  • update JSON Schema Faker to latest
  • fix prism instances matching on methods

Issues

prism - v2.0.9

Published by pytlesk4 over 6 years ago

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
prism - v2.0.8

Published by pytlesk4 over 6 years ago

prism - v2.0.7

Published by pytlesk4 over 6 years ago

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
prism - v2.0.6

Published by pytlesk4 over 6 years ago

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
prism - v2.0.5

Published by pytlesk4 over 6 years ago

Overview

  • improved error handling and reporting from the JavaScript runtime
prism - v2.0.4

Published by pytlesk4 over 6 years ago

Overview

  • Authenticate private OAS files for transitive refs
prism - v2.0.3

Published by pytlesk4 over 6 years ago

Overview

  • Load multiple spec files for Scenario Collections and Prism Instances
  • Fix panic when loading multiple specs
prism - v2.0.2

Published by pytlesk4 over 6 years ago

Overview

  • Don't make calls to the exporter for local references
Package Rankings
Top 1.2% on Npmjs.org
Top 8.17% on Proxy.golang.org
Badges
Extracted from project README
Prism - API Mock Servers and Contract Testing CircleCI NPM Downloads Stoplight Forest
Related Projects