Import Traefik, nginx, HAProxy, Consul and Tyk routes
For many APIs the reverse-proxy configuration is the only spec. Apiome now imports routes from Traefik, nginx, HAProxy, Consul and Tyk configuration. What gets imported.
- Traefik: dynamic configuration in YAML or TOML, a watched provider directory, or
IngressRouteresources. Router rules are expanded, soHost(…) && (Method(`GET`) || Method(`HEAD`))becomes two operations. - nginx:
serverandlocationblocks, withincludes followed across an archive. Apiome reads a documented subset of nginx;if,map,try_filesand every other directive outside it are listed in the coverage ledger. - HAProxy: path, method and host ACLs with
use_backend,default_backendand inlinehttp-request returnroutes; map files resolve computed backends. - Consul:
service-routerandingress-gatewayentries and registered services, in JSON or HCL. - Tyk: classic API definitions with their policies file, and Tyk OAS definitions, which keep their OpenAPI schemas.
- Honest about what it is. Every operation is marked inferred and lands in the Catalog. Routing
with no HTTP equivalent — TCP routers,
mode tcpsections, Lua conditions — is declared, not dropped.
