www/apisprout - The NetBSD Packages Collection

Lightweight, fast, validating OpenAPI 3 mock server

A simple, quick, cross-platform API mock server that returns examples
specified in an API description document. Features include:

- OpenAPI 3.x support
  - Uses operation `examples` or generates examples from `schema`
- Load from a URL or local file (auto reload with `--watch`)
- CORS headers enabled by default
- Accept header content negotiation
  - Example: `Accept: application/*`
- Prefer header to select response to test specific cases
  - Example: `Prefer: status=409`
- Server validation (enabled with `--validate-server`)
  - Validates scheme, hostname/port, and base path
  - Supports `localhost` out of the box
- Request parameter & body validation (enabled with `--validate-request`)
- Configuration via:
  - Files (`/etc/apisprout/config.json|yaml`)

Build dependencies

lang/go122 pkgtools/mktools pkgtools/cwrappers

Runtime dependencies


Binary packages

NetBSD 10.0aarch64apisprout-1.3.0nb28.tgz
NetBSD 10.0aarch64apisprout-1.3.0nb26.tgz
NetBSD 10.0earmv7hfapisprout-1.3.0nb28.tgz
NetBSD 10.0earmv7hfapisprout-1.3.0nb26.tgz
NetBSD 10.0i386apisprout-1.3.0nb28.tgz
NetBSD 10.0i386apisprout-1.3.0nb26.tgz
NetBSD 10.0x86_64apisprout-1.3.0nb28.tgz
NetBSD 10.0x86_64apisprout-1.3.0nb26.tgz
NetBSD 9.0aarch64apisprout-1.3.0nb28.tgz
NetBSD 9.0aarch64apisprout-1.3.0nb26.tgz
NetBSD 9.0earmv7hfapisprout-1.3.0nb28.tgz
NetBSD 9.0earmv7hfapisprout-1.3.0nb26.tgz
NetBSD 9.0i386apisprout-1.3.0nb28.tgz
NetBSD 9.0i386apisprout-1.3.0nb26.tgz
NetBSD 9.0x86_64apisprout-1.3.0nb28.tgz
NetBSD 9.0x86_64apisprout-1.3.0nb26.tgz
NetBSD 9.3x86_64apisprout-1.3.0nb29.tgz
NetBSD 9.3x86_64apisprout-1.3.0nb30.tgz
NetBSD 9.3x86_64apisprout-1.3.0nb30.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options


Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.

Problem reports, updates or suggestions for this package should be reported with send-pr.