Commit graph

238 commits

Author SHA1 Message Date
Virgil
f234fcba5f feat(api): surface authentik metadata in specs
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 13:25:23 +00:00
Virgil
eb18611dc1 feat(api): snapshot authentik runtime config
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 13:17:08 +00:00
Virgil
0171f9ad49 refactor(api): assert swagger spec interface
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 13:12:08 +00:00
Virgil
ec268c8100 feat(api): default enabled transport paths in specs
Treat enabled built-in transports as having their default paths when callers omit an explicit override. This keeps manual SpecBuilder usage aligned with the engine defaults and prevents Swagger, GraphQL, WebSocket, and SSE metadata from disappearing from generated documents.\n\nCo-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 13:07:05 +00:00
Virgil
ef51d9b1c3 refactor(cmd/api): centralize spec flag binding
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 13:01:45 +00:00
Virgil
ede71e2b1f feat(cmd/api): infer spec transport enablement from flags
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 12:56:59 +00:00
Virgil
655faa1c31 refactor(api): add runtime config snapshot
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 12:52:06 +00:00
Virgil
3c2f5512a8 feat(api): add GraphQL config snapshot
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 12:47:42 +00:00
Virgil
814c1b6233 feat(cmd/api): expose cache and i18n spec flags
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 12:43:06 +00:00
Virgil
5c067b3dae refactor(api): normalise config snapshots
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 12:38:54 +00:00
Virgil
f919e8a3be feat(api): expose cache and i18n OpenAPI metadata
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 12:29:40 +00:00
Virgil
5de64a0a75 feat(api): add i18n config snapshot
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 12:25:38 +00:00
Virgil
f760ab6c72 feat(api): expose cache config snapshot
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 09:23:02 +00:00
Virgil
592cdd302e fix(api): fail fast on sdk generator availability
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 09:19:19 +00:00
Virgil
c4743a527e refactor(cmd/api): fail fast on sdk generator availability
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 09:15:03 +00:00
Virgil
78d16a75cc docs(api): add AX example for SDK availability check
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 09:12:00 +00:00
Virgil
71c179018d refactor(api): snapshot route metadata during spec build
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 09:08:16 +00:00
Virgil
c383d85923 refactor(cmd/api): centralize spec builder config
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 09:04:30 +00:00
Virgil
4fc93612e4 feat(api): make spec builder nil-safe 2026-04-02 09:01:04 +00:00
Virgil
57ff0d2a48 feat(api): expose swagger and graphql spec flags 2026-04-02 08:57:41 +00:00
Virgil
d40ff2c294 fix(api): remove global openapi bearer security
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 08:54:24 +00:00
Virgil
192f8331f2 feat(api): expose websocket and sse transport flags
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 08:48:28 +00:00
Virgil
83d12d6024 feat(api): expose swagger enabled transport flag
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 08:45:20 +00:00
Virgil
51b176c1cf refactor(api): expose GraphQL transport snapshot flag
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 08:40:28 +00:00
Virgil
4725b39049 docs(api): align cache docs with explicit limits
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 08:36:59 +00:00
Virgil
5e4cf1fde8 refactor(api): clarify cache limits api
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 08:34:09 +00:00
Virgil
172a98f73a fix(api): validate path parameter schemas
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 08:30:44 +00:00
Virgil
152645489b feat(api): validate openapi parameter values
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 08:27:25 +00:00
Virgil
2fb2c6939f feat(api): expose swagger path in config snapshot
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 08:23:55 +00:00
Virgil
d06f4957a3 feat(api): expose swagger config snapshot
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 08:20:13 +00:00
Virgil
d225fd3178 feat(api): add openapi info summary support
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 08:16:56 +00:00
Virgil
be7616d437 fix(cmd/api): normalise spec export formats
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 08:12:47 +00:00
Virgil
e6f2d1286b refactor(cmd/api): centralise spec builder config
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 08:08:56 +00:00
Virgil
8d92ee29d4 docs(cmd/api): add AX usage example to AddAPICommands
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 08:03:24 +00:00
Virgil
8149b0abf2 refactor(api): centralise spec group iterator
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 07:57:58 +00:00
Virgil
ed5822058d refactor(api): streamline spec export paths
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 07:54:27 +00:00
Virgil
ec945970ee docs(api): add AX usage examples
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 07:51:21 +00:00
Virgil
08cb1385d3 fix(api): redirect swagger base path
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 07:44:55 +00:00
Virgil
bbee19204f refactor(export): reduce spec file writer duplication
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 07:41:14 +00:00
Virgil
87a973a83e feat(cmd/api): add SDK security scheme parity
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 07:31:45 +00:00
Virgil
bc6a9ea0a7 feat(cmd): expose spec security schemes
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 07:26:36 +00:00
Virgil
22d600e7a7 fix(api): normalise version config values 2026-04-02 07:22:16 +00:00
Virgil
b0549dc14e fix(api): deep-clone swagger security schemes
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 07:19:32 +00:00
Virgil
69dd16cba6 feat(api): expose reusable OpenAPI response components
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 07:10:55 +00:00
Virgil
fb7702df67 feat(api): expose swagger security schemes
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 07:06:09 +00:00
Virgil
8e1a424fc8 feat(api): merge custom OpenAPI security schemes
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 07:01:41 +00:00
Virgil
920c227e21 chore(api): validate OpenAPI implementation
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 06:56:38 +00:00
Virgil
b99e445436 feat(openapi): document debug endpoint rate-limit headers
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 06:52:40 +00:00
Virgil
30e610686b refactor(cmd/api): remove redundant sdk spec slice helper
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 06:47:59 +00:00
Virgil
8a23545a67 feat(api): expose transport config snapshot
Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-02 06:38:05 +00:00