I have two errors in the generated client code that I cannot resolve.
based on this document, I use netframework-4.6.2
I use openapi 3.0.3
In my nswag.json, I have "runtime": "WinX64"
I get "Cannot resolve symbol 'XX'" from this generated code:
if (status_ == 4XX)
I get "Cannot inherit from sealed struct 'int'" from this generated code:
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")]
public partial class SceneId : int
{
}
I have two errors in the generated client code that I cannot resolve.
based on this document, I use netframework-4.6.2 I use openapi 3.0.3 In my nswag.json, I have "runtime": "WinX64"
I get "Cannot resolve symbol 'XX'" from this generated code:
I get "Cannot inherit from sealed struct 'int'" from this generated code:
The openApi for SceneId looks like this:
"#/components/schemas/int32" looks like this: