forked from loafle/openapi-generator-original
fix async option in C# nancyfx generator
This commit is contained in:
parent
8fec429158
commit
eba4affbb4
@ -134,7 +134,7 @@ public class NancyFXServerCodegen extends AbstractCSharpCodegen {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (additionalProperties.containsKey(ASYNC_SERVER)) {
|
if (additionalProperties.containsKey(ASYNC_SERVER)) {
|
||||||
setAsyncServer(Boolean.parseBoolean((String)additionalProperties.get(ASYNC_SERVER)));
|
setAsyncServer(Boolean.valueOf(additionalProperties.get(ASYNC_SERVER).toString()));
|
||||||
}
|
}
|
||||||
|
|
||||||
additionalProperties.put("packageGuid", packageGuid);
|
additionalProperties.put("packageGuid", packageGuid);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user