Files
Kaxil Naik 5ac251bd53 Add schema-validated registry API contracts with API Explorer (#63025)
Pydantic contract models validate every JSON payload the registry
produces (providers catalog, modules, parameters, connections,
version metadata, provider versions). Validation runs at generation
time — no separate jsonschema layer needed.

An OpenAPI 3.1 spec is generated from these contracts at build time
and powers an interactive API Explorer at /api-explorer/, using
swagger-ui vendored from node_modules (Apache Infra blocks external
CDN via CSP). The explorer shares the site layout (header, nav,
footer) and uses swagger-ui's native dark-mode class for theme sync.

Also adds a /api/providers/{id}/versions.json endpoint used by CI
to publish new provider versions without a full site rebuild.
2026-03-13 04:09:05 +00:00

42 lines
526 B
Plaintext

# Dependencies
node_modules/
.pnpm-store/
# Build output
_site/
dist/
# Generated OpenAPI spec (produced by dev/registry/export_registry_schemas.py at build time)
schemas/
# Provider logos (copied from providers/*/docs/integration-logos/ at build time)
public/logos/
# Logs
*.log
npm-debug.log*
pnpm-debug.log*
yarn-debug.log*
yarn-error.log*
# Environment variables
.env
.env.local
.env.*.local
# OS files
.DS_Store
Thumbs.db
# Editor directories
.vscode/
.idea/
*.swp
*.swo
*~
# Temporary files
*.tmp
.cache/
.temp/