Sign In

@shipeasy/openapi

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shipeasy/openapi

Shipeasy admin OpenAPI 3.2 spec (hand-authored, single source of truth) + the generated TypeScript client, Zod schemas, and types. Consumed by @shipeasy/cli and @shipeasy/mcp.

latest
Source
npmnpm
Version
3.2.0
Version published
Maintainers
1
Created
Source

@shipeasy/openapi

Contract Tests

The Shipeasy admin OpenAPI 3.2 spec (hand-authored, single source of truth) plus the generated TypeScript client, Zod schemas, and types. Consumed by @shipeasy/cli and @shipeasy/mcp.

Layout

  • spec/ — the hand-authored spec, split across paths/ and components/schemas/. Edit here.
  • openapi.yaml — the bundled single-file spec (pnpm bundle, Redocly).
  • src/generated/ — the client / Zod / types emitted by pnpm gen:sdk (@hey-api/openapi-ts).

Scripts

ScriptWhat it does
pnpm lint:specRedocly lint of spec/openapi.yaml
pnpm bundlebundle spec/openapi.yaml
pnpm genbundle + regenerate src/generated/*
pnpm testspec guard tests (every op declares x-error-codes, etc.)

Contract testing

The Contract Tests badge above tracks the contract-tests workflow: on every change to openapi/** it boots the real admin API server and fuzzes this spec against it with Schemathesis — property-based generation of valid and malformed requests for every operation, asserting no 5xx and full status/schema conformance (the bearerSdkKey auth the spec declares is exercised end-to-end). Run it locally with pnpm --filter @shipeasy/ui test:contract (see apps/ui/contract-tests/).

FAQs

Package last updated on 27 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts