spot

Spot is a concise, developer-friendly way to describe your API contract.

OTHER License

Downloads
8.7K
Stars
555
Committers
25

Bot releases are hidden (Show)

spot - Release v1.0.0

Published by lfportal over 4 years ago

Fixes

  • various fixes to generator's relating to specification compliance

Breaking Changes

  • removed test command in favour of validation-server for provider validation
spot - Release v0.3.1

Published by lfportal almost 5 years ago

  • Added union, string literal and boolean literal support for query, path and header parameter validation
spot - Release v0.3.0

Published by lfportal almost 5 years ago

  • Added new validation-server command for contract testing
  • Added new docs command for previewing the contract (using Redoc)
  • Added indexed access types
  • Added support for defining query param strategies for arrays (similar to OpenAPI)
  • Added new linting rule to prevent null types in request body
  • Added new linting rule to forbid nullable arrays
  • Added new linting rule to ensure at least one successful response per endpoint
  • Added new linitng rule to forbid optional response fields
  • Added new linting rule to prevent query param object types
spot - Release v0.2.18

Published by lfportal over 5 years ago

  • Added @draft decorator for test skipping and rapid development
  • Added Double and Number data types support
  • Fixed negative expression parsing in @tests
spot - Release v0.2.17

Published by lfportal over 5 years ago

  • Fixes a bug causing the interactive CLI to hang
spot - Release v0.2.16

Published by fwouts over 5 years ago

  • Fixes a bug where string | null triggered a false positive in the no-nested-types-within-unions linting rule.
spot - Release v0.2.15

Published by fwouts over 5 years ago

  • New linting rules to ensure union types have a discriminator.
spot - Release v0.2.14

Published by medric over 5 years ago

  • This enables API contract checksum generation through command-line interface.
spot - Release v0.2.13

Published by lfportal over 5 years ago

  • added flag to enable debug logs in test runner
spot - Release v0.2.12

Published by committedteadrinker over 5 years ago

This release comes with the support to enable discriminator generation for Open API V3 spec using type references.

spot - Release v0.2.11

Published by lfportal over 5 years ago

  • Enhanced error message for missing String import
spot - Release v0.2.10

Published by lfportal over 5 years ago

  • Enhanced error messages for unicity verifiers
spot - Release v0.2.9

Published by fwouts over 5 years ago

  • Introduces Int32 and Int64 types.
  • Fixes a bug where an object type with no required properties generated invalid OpenAPI 3 (thanks @alaphao!).
spot - Release v0.2.8

Published by fwouts over 5 years ago

  • Spot will now fail if two endpoints or two types have identical names.
spot - Release v0.2.7

Published by lfportal over 5 years ago

  • Test runner execution timer
  • Enhanced test runner error logging
spot - Release v0.2.6

Published by lfportal over 5 years ago

  • Separated test runner state change actions into three endpoints
spot - Release v0.2.5

Published by lfportal over 5 years ago

  • Reference types resolver bug fix
  • Test runner query string param serialization now uses deepObject strategy
spot - Release v0.2.4

Published by lfportal over 5 years ago

  • initialize state provider phase
spot - Release v0.2.3

Published by fwouts over 5 years ago

  • Support recursive import statements.
  • Support export statements as well.
  • First, early release of the test command!
spot - Release v0.2.2

Published by lfportal over 5 years ago

  • Support complex objects in path and query params.
  • Introduced Float and String type aliases for type naming consistency.
Package Rankings
Top 3.44% on Npmjs.org
Badges
Extracted from project README
oclif Version CircleCI Downloads/week License
Related Projects