api/

directory
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2026 License: Apache-2.0

README

Vendored API contract

These files are copied unchanged from the spec repository at commit c47df92 ("docs(api): a watch source may name a configured source instance (#15)", the spec pull request of angelia-dev/angelia#205, merged on the spec repository's main). Only openapi/angelia.v1.yaml changed since 670a586 ("feat(openapi): github-dispatch sink config (#12)"): version 0.3.1 documents the github-dispatch input names and payload size guard (#13), version 0.4.0 adds ShoutrrrSinkConfig to x-angelia-kind-config and the x-angelia-secret-destination annotation, and version 0.4.1 rewords the watch source and SourceFilter descriptions for named source instances (description only).

Here In the spec repository
openapi/angelia.v1.yaml openapi/angelia.v1.yaml
schemas/release/envelope/v1.json schemas/release/envelope/v1.json
schemas/release/v1.json schemas/release/v1.json

The layout mirrors the spec repository so that the relative $ref from the OpenAPI document to the envelope schema resolves. The spec repository is the source of truth: never edit these files here. To update, copy the files from a newer spec commit, record the commit above, run go generate ./internal/api/ and commit the result.

openapi/embed.go embeds the document so that the server validates requests and enforces scopes from the specification itself (internal/api). Licence: Apache-2.0 OR CC-BY-4.0, as in the spec repository.

Directories

Path Synopsis
Package openapi embeds the vendored REST API specification (see api/README.md).
Package openapi embeds the vendored REST API specification (see api/README.md).

Jump to

Keyboard shortcuts

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