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 visible (Hide)

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

Published by pytlesk4 over 6 years ago

Overview

  • De-reference transitive references in oas 2.0 specification
prism - v2.0.0

Published by pytlesk4 over 6 years ago

Overview

  • Bump Prism to 2.0.0
  • Perfomance boost for Prism Instances
  • Automatic status code assertions for Scenario HTTP steps
  • Removed Bugsnag
  • Fix Scenario Refs for prism instances that reffed other Scenarios
prism - v2.0.0-beta.9-6

Published by pytlesk4 over 6 years ago

Overview

  • Bug fixes

Issues

  • fixes #137
  • fixes #136
prism - v2.0.0-beta.9-5

Published by pytlesk4 over 6 years ago

Overview

  • Parse collection settings correctly
  • Support response schema not defined: response schema spec
  • Add redirects to collection settings, and support it
  • Make sure to always set $$.request, not just for proxy mode
  • Set multiple header values correctly on scenario step results
  • Unescape step http url correctly
  • Support query property for http steps.
  • build the runMap correctly for /v1/run endpoint.

Issues

  • fixes #135
  • fixes #104
prism - v2.0.0-beta.9-4

Published by pytlesk4 over 6 years ago

Overview

  • fixed windows crash on startup
  • fixed windows Linux subsystem
  • improve OAS expansion for responses, parameters and path items

Issues

  • fixes #132
prism - v2.0.0-beta.9-3

Published by pytlesk4 over 6 years ago

Overview

  • add prism mock command to start a mock server

    prism mock --spec oas.json --port 4010 --debug
    
     --spec is required and is the location on disk or the internets
     --port is optional, defaults to 4010
     --debug is optional, defaults to false
    
  • add prism validate command to start a validation server

     prism validate --spec oas.json --upstream http://example.com  --port 4010 --debug
    
      --spec is required, and is the location on disk or the internets
      --upstream is optional, defaults to oas specification
      --port is optional, defaults to 4010
      --debug is optional, defaults to false
    
  • improve yaml support in for prism instances, scenarios and oas specification

  • cookie API in javascript runtime

  • scenario refs don't have to point to a collection file, can point to a scenario file.

  • look up the correct header for authentication

  • bug fixes and other usability improvements

Issues

  • closes #106
prism - v2.0.0-beta.9-2

Published by pytlesk4 almost 7 years ago

Overview

YAML Scenarios and OAS support.

Issues

fixes #60

prism - v2.0.0-beta.9-1

Published by pytlesk4 almost 7 years ago

fixes #112
fixes #114

prism - v2.0.0-beta.9

Published by pytlesk4 almost 7 years ago

fix modifying the response in an after prism instance, when requests are forwarded upstream.

prism - v2.0.0-beta.8

Published by pytlesk4 almost 7 years ago

  • download private scenario, oas refs
  • fix int64 validation
  • validate responses that don't have a content type
  • other bug fixes/improvements
prism - v2.0.0-beta.7

Published by pytlesk4 almost 7 years ago

  • up to a 2x performance boost
  • scenario runs timeout after two mins
  • configureable request timeout
  • $$.stop
  • bug fixes and improvements
prism - v2.0.0-beta.6

Published by pytlesk4 almost 7 years ago

  • prism login is now an interactive command
  • don't show password when using prism login
  • When looping over step results, don't look up a result that doesn't exist.
  • Properly build api host from swagger spec, especially when the api host is an ip address with a port.
prism - v2.0.0-beta.5

Published by pytlesk4 almost 7 years ago

  • fix issue with swagger refs
  • add support for --token, going to be exposed in the stoplight desktop/web app.
  • fix spelling for error logs
  • other bug fixes/improvements