Express discriminated union in JSON schema (#7)

This commit is contained in:
Patrick Stevens
2022-12-30 12:27:54 +00:00
committed by GitHub
parent f0f8504234
commit 99df76b22b
8 changed files with 209 additions and 135 deletions

View File

@@ -5,7 +5,7 @@ This is a small project to allow you to specify a [Gitea](https://github.com/go-
# How to build and run
With Nix: `nix run github:Smaug123/dotnet-gitea-declarative -- --help`.
The config file you provide as an argument should conform to [the schema](./Gitea.Declarative.Lib/GiteaConfig.schema.json).
The config file you provide as an argument should conform to [the schema](./Gitea.Declarative.Lib/GiteaConfig.schema.json); there is [an example](./Gitea.Declarative.Test/GiteaConfig.json) in the tests.
## Building from source