Skip to content

Commit

Permalink
chore: fix CSharp auto-implemented properties example (#1790)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaslagoni authored Feb 20, 2024
1 parent 17c4fda commit 2e443cf
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions examples/csharp-auto-implemented-properties/index.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,7 @@
import { CSharpGenerator, CSHARP_DEFAULT_PRESET } from '../../src';
import { CSharpGenerator } from '../../src';

const generator = new CSharpGenerator({
presets: [
{
preset: CSHARP_DEFAULT_PRESET,
options: {
autoImplementedProperties: true
}
}
]
autoImplementedProperties: true
});

const jsonSchemaDraft7 = {
Expand Down

0 comments on commit 2e443cf

Please sign in to comment.