Add Nix derivations for generating Go and TypeScript API client bindings from authentik's OpenAPI schema: - source.nix: shared version (2025.12.4) and source fetch - client-go.nix: Go client from goauthentik/client-go repo - client-ts.nix: TypeScript fetch client from main schema.yml - api-go-vendor-hook.nix: setup hook to inject Go client into vendor dir - client-go-config.patch: OpenAPI generator config fix Ported from nixpkgs pkgs/by-name/au/authentik/package.nix. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
9 lines
276 B
Diff
9 lines
276 B
Diff
diff --git a/config.yaml b/config.yaml
|
|
index 2f07ea7..0f90432 100644
|
|
--- a/config.yaml
|
|
+++ b/config.yaml
|
|
@@ -4,3 +4,4 @@ additionalProperties:
|
|
packageName: api
|
|
enumClassPrefix: true
|
|
useOneOfDiscriminatorLookup: true
|
|
+ disallowAdditionalPropertiesIfNotPresent: false
|