Skip to content

Commit 3f80c29

Browse files
Json schema generator (#46)
* add json schema generator * add props & targets, cli tool * fix incorrect type check in attribute factory implement enum hints * update pipeline * undo namespace cleanup * fix formatting * move from InternalsVisibleTo to public types * clean test app
1 parent 8345e45 commit 3f80c29

File tree

2 files changed

+0
-24
lines changed

2 files changed

+0
-24
lines changed

TestApp/Program.cs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,7 @@
1-
using RhoMicro.CodeAnalysis;
2-
31
internal class Program
42
{
53
private static void Main(String[] _0)
64
{
75

86
}
97
}
10-
11-
[UnionType<ErrorCode, MultipleUsersError, User>(Storage = StorageOption.Value)]
12-
readonly partial struct GetUserResult;
13-
14-
sealed record User(String Name);
15-
16-
enum ErrorCode
17-
{
18-
NotFound,
19-
Unauthorized
20-
}
21-
22-
readonly record struct MultipleUsersError(Int32 Count);

TestApp/SettingsNamespace/NamespaceSettings.cs

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)