Rivet Docs
  • Introduction
  • Consumer-Driven Contracts
  • Getting Started
  • Contracts
    • Configuration
    • Helpers
    • Composability
    • Publishing
  • CLI
  • Github
  • NPM
Powered by GitBook
On this page
  • load(contractPath)
  • generate(contractPath | schemaObject) (async)
  • generateSync(contractPath | schemaObject)

Was this helpful?

  1. Contracts

Helpers

PreviousConfigurationNextComposability

Last updated 5 years ago

Was this helpful?

load(contractPath)

Loads a contract file referencing any aliases.

generate(contractPath | schemaObject) (async)

Generates mock data from a contract, asynchronously.

generateSync(contractPath | schemaObject)

Generates mock data from a contract.

configured