apis

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package apis holds the OpenAPI contracts this CLI is built from, mirroring the layout of the contracts repository:

leaflow/<service>/v1/openapi.yaml
leaflow/type/v1/error.yaml        shared, referenced by every contract

Keeping the layout is what lets each contract's relative reference to the shared error schema resolve, and means a synced file is byte-identical to upstream — so a review diff is the upstream diff, with nothing in between.

It is a package of its own, outside internal/, because the contracts are an asset of the repository rather than the private data of one package, and because go:embed only reaches the directory it is declared in.

Index

Constants

View Source
const Root = "leaflow"

Root is the directory inside Contracts that holds the services.

Variables

View Source
var Contracts embed.FS

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL