We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When converting the Kubernetes swagger.json to c# client, a field is generated with an illegal name.
Swagger.json https://raw.githubusercontent.com/kubernetes/kubernetes/master/api/openapi-spec/swagger.json
NSwag toolchain v12.0.13.0 (NJsonSchema v9.13.17.0 (Newtonsoft.Json v11.0.0.0)) Default settings
/// <summary>JSONSchemaProps is a JSON-Schema following Specification Draft 4 (http://json-schema.org/).</summary> [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "9.13.17.0 (Newtonsoft.Json v11.0.0.0)")] public partial class JSONSchemaProps { [Newtonsoft.Json.JsonProperty("$schema", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] public string $schema { get; set; }
The text was updated successfully, but these errors were encountered:
Needs to be fixed here: https://github.com/RSuter/NJsonSchema/blob/master/src/NJsonSchema.CodeGeneration.CSharp/CSharpPropertyNameGenerator.cs
Sorry, something went wrong.
Sent a PR 👍
No branches or pull requests
When converting the Kubernetes swagger.json to c# client, a field is generated with an illegal name.
Swagger.json
https://raw.githubusercontent.com/kubernetes/kubernetes/master/api/openapi-spec/swagger.json
NSwag toolchain v12.0.13.0 (NJsonSchema v9.13.17.0 (Newtonsoft.Json v11.0.0.0))
Default settings
The text was updated successfully, but these errors were encountered: