You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Add namespace prefix to UnixTimestampJsonConverter file name to prevent
overwrites when generating multiple specs to the same directory
- Remove UnixTimestampJsonConverter from AsyncAPI converters list (not needed)
- Fix value type deserialization in WebSocket receive method to use
non-generic Deserialize overload compatible with JsonSerializerContext
- Add --json-serializer-context CLI option for custom context class names
- Extract context class name from Settings.JsonSerializerContext property
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Description="Override the JsonSerializerContext class name (default: SourceGenerationContext). Useful when generating multiple specs to the same project.",
153
+
};
154
+
148
155
publicGenerateCommand():base(name:"generate",description:"Generates client sdk using an OpenAPI or AsyncAPI spec.")
149
156
{
150
157
Arguments.Add(Input);
@@ -165,6 +172,7 @@ internal sealed class GenerateCommand : Command
Copy file name to clipboardExpand all lines: src/tests/AutoSDK.SnapshotTests/Snapshots/CLI/circular-refs/_#G.JsonConverters.UnixTimestamp.g.verified.cs
0 commit comments