We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8314d41 commit 6abb48fCopy full SHA for 6abb48f
1 file changed
modules/openapi-generator/src/main/resources/aspnetcore/3.0/controller.mustache
@@ -13,14 +13,14 @@ using Microsoft.AspNetCore.Http;
13
using Swashbuckle.AspNetCore.Annotations;
14
using Swashbuckle.AspNetCore.SwaggerGen;
15
{{/useSwashbuckle}}
16
-{{^isLibrary}}
+{{#generateBody}}
17
{{#useNewtonsoft}}
18
using Newtonsoft.Json;
19
{{/useNewtonsoft}}
20
{{^useNewtonsoft}}
21
using System.Text.Json;
22
23
-{{/isLibrary}}
+{{/generateBody}}
24
using {{packageName}}.Attributes;
25
using {{modelPackage}};
26
0 commit comments