Skip to content
New issue

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

Update README section JSON Schema Settings #183

Open
franzibrb opened this issue Jan 17, 2024 · 0 comments
Open

Update README section JSON Schema Settings #183

franzibrb opened this issue Jan 17, 2024 · 0 comments

Comments

@franzibrb
Copy link

Ahoi and thanks for this cool tool :)
I have noticed that the Readme.md might not be up-to-date.
This regards the section JSON Schema Settings:

` options.JsonSchemaGeneratorSettings.TypeNameGenerator = new DefaultTypeNameGenerator();

// Note: need to assign a new JsonSerializerSettings, not just set the properties within it.
options.JsonSchemaGeneratorSettings.SerializerSettings = new JsonSerializerSettings 
{
    ContractResolver = new DefaultContractResolver(),
    Formatting = Formatting.Indented;
};

`
JsonSchemaGeneratorSettings was renamed to SchemaOptions if i checked the code correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant