BSD Ports

Vulnerable: version 1.3.0nb53 is affected by 1 known vulnerability. See below.

www/apisprout 1.3.0nb53 NetBSD

Lightweight, fast, validating OpenAPI 3 mock server

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
309977eb40
License
mit
Categories
www
Package size
7479.5 KiB, 15709.9 KiB installed

Description

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`)

Install

Binary package:

pkgin install apisprout

From pkgsrc:

cd /usr/pkgsrc/www/apisprout && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_641.3.0nb53
NetBSD 10.1 aarch641.3.0nb53
SmartOS / illumos x86_641.3.0nb55
macOS 15 arm641.3.0nb54

Dependencies

No port depends on this one.

Known vulnerabilities 1

Commit history 7

DateCommitCreditsLog message
309977eb40 bsiegert Revbump all Go packages after go127 security update
96dc94755d bsiegert Revbump all Go packages after go127 security update
866d2b73e9 bsiegert Revbump all Go packages after go127 update
2338e838cd bsiegert Revbump all Go packages after go127 became the default
a4724da6b2 bsiegert Revbump all Go packages after go126 update

The latest 5 of 7 in the history this site was built from.