Skip to content

Allow setting x-csharp-existing-type on schemas#1605

Open
NaridaL wants to merge 1 commit intoRicoSuter:masterfrom
NaridaL:csharp-codegen-use-existing-type
Open

Allow setting x-csharp-existing-type on schemas#1605
NaridaL wants to merge 1 commit intoRicoSuter:masterfrom
NaridaL:csharp-codegen-use-existing-type

Conversation

@NaridaL
Copy link
Copy Markdown

@NaridaL NaridaL commented Jun 10, 2023

to override default resolved type

to override default resolved type
@NaridaL NaridaL force-pushed the csharp-codegen-use-existing-type branch from 87b9df0 to 0a0a456 Compare June 10, 2023 11:50
@NaridaL
Copy link
Copy Markdown
Author

NaridaL commented Jun 22, 2023

@RicoSuter any chance of getting this merged?

@dthomas-inspire
Copy link
Copy Markdown

I think I also need this change or something similar. To conform to the JSON Schema specification, I specify the "type" field of properties to be "integer", but I need the generated C# code to use various System types like System.Int16 or System.UInt32, etc. I don't see a way to do that without a change like this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants