Skip to content

Commit

Permalink
Disable NSwag as this seems to cause flakiness in dotnet tests. (#458)
Browse files Browse the repository at this point in the history
  • Loading branch information
kwokkan authored Dec 19, 2019
1 parent 2ab6f26 commit 4b5ce70
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@
</ItemGroup>

<Target Name="NSwag" AfterTargets="Build">
<Copy SourceFiles="@(Reference)" DestinationFolder="$(OutDir)References" />
<!--<Copy SourceFiles="@(Reference)" DestinationFolder="$(OutDir)References" />
<Exec Command="$(NSwagExe_Core31) aspnetcore2openapi /assembly:$(TargetPath) /variables:Configuration=$(Configuration) /output:swagger.json" />
<Exec Command="$(NSwagExe_Core31) openapi2tsclient /input:swagger.json /ClientBaseClass:CardHeroApiClientBase /ExtensionCode:&quot;import { CardHeroApiClientBase } from './CardHeroApiClientBase';&quot; /GenerateClientInterfaces:true /GenerateOptionalParameters:true /ImportRequiredTypes:true /MarkOptionalProperties:true /UseGetBaseUrlMethod:true /output:ClientApp\src\clients\clients.ts" />
<RemoveDir Directories="$(OutDir)References" />
<RemoveDir Directories="$(OutDir)References" />-->
</Target>
</Project>

0 comments on commit 4b5ce70

Please sign in to comment.