Files
as4-411/docs/api/README.md
defiQUG c24ae925cf
Some checks failed
CI / lint (push) Has been cancelled
CI / build (push) Has been cancelled
Initial commit: AS4/411 directory and discovery service for Sankofa Marketplace
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-08 08:44:20 -08:00

843 B

API definitions

  • OpenAPI: openapi.yaml — REST API for resolve, bulk-resolve, admin, system.
  • Route directive schema: route-directive.schema.json — JSON Schema for RouteDirective and ResolveResponse.
  • Protobuf: proto/resolver.proto — Resolver service and messages (ResolveRequest, ResolveResponse, RouteDirective). Package as411.resolver.v1.

Generating stubs from Proto

From the repo root, with protoc installed:

# Example (adjust paths for your language)
protoc -I docs/api/proto docs/api/proto/resolver.proto --go_out=paths=source_relative:.
# Or with buf (if using buf.gen.yaml):
# buf generate docs/api/proto

gRPC server implementation is optional; the Proto file defines the contract for clients and future gRPC support.