Commit Graph

7 Commits

Author SHA1 Message Date
Ben Marsh
2af1d9cf54 Horde: Add a custom Json schema library that supports polymorphic types and System.Text.Json.
[CL 16646294 by Ben Marsh in ue5-main branch]
2021-06-11 16:08:31 -04:00
Ben Marsh
0d2d816707 Horde: Add different extensions to config files, so we can automatically match the correct schema.
[CL 16562250 by Ben Marsh in ue5-main branch]
2021-06-04 17:51:30 -04:00
Ben Marsh
4bf1f8fd99 Horde: Fix URL for linked schemas.
[CL 16538039 by Ben Marsh in ue5-main branch]
2021-06-02 15:29:06 -04:00
Ben Marsh
ac0e8b03f3 Horde: Json schema fixes:
* Now uses correct case for types (object/array/etc...)
* Add AdditionalProperties = false to all objects
* Add a generator for StringId classes
* Add attributes for specifying catalog metadata.

[CL 16537922 by Ben Marsh in ue5-main branch]
2021-06-02 15:16:14 -04:00
Ben Marsh
435ac9b5cf Horde: Fix property name for schema catalog.
[CL 16534926 by Ben Marsh in ue5-main branch]
2021-06-02 11:21:56 -04:00
Ben Marsh
d68ef83809 Horde: Add description to JSON schema catalog.
[CL 16534566 by Ben Marsh in ue5-main branch]
2021-06-02 10:55:54 -04:00
Ben Marsh
b4cbf05353 Horde: Add support for generating JSON schemas for configuration classes.
* /api/v1/schemas/catalog.json also returns a schemastore.org compatible catalog of files for use by Visual Studio.
* -UpdateSchemas argument when launching server will write schemas to disk. Specify -SchemaDir to override output folder.

[CL 16533765 by Ben Marsh in ue5-main branch]
2021-06-02 09:39:20 -04:00