Routing/tools/Swaggatherer
Nate McMaster aed55d4517
Upgrade projects and packages to target netcoreapp3.0 (aspnet/Routing#913)
Changes:

* Upgrade dependencies and build tools
* Change TFM on Microsoft.AspNetCore.Routing packages to netcoreapp3.0
* Remove .NET Framework tests
* Remove the IL_EMIT conditional compilation because this assembly only targets .NET Core now.
2018-11-19 09:50:01 -08:00
..
Program.cs
README.md
RouteEntry.cs
Swaggatherer.csproj Upgrade projects and packages to target netcoreapp3.0 (aspnet/Routing#913) 2018-11-19 09:50:01 -08:00
SwaggathererApplication.cs
Template.cs Add DfaMatcherBuilder benchmarks (#777) 2018-09-06 12:10:20 +12:00

README.md

Swaggatherer (Swagger + Gatherer)

This is a cli tool that can generate a routing benchmark using a Swagger 2.0 spec as an input.

Usage

Generate a benchmark from a swagger file:

dotnet run -- -i swagger.json -o MyGeneratedBenchark.generated.cs

Generate a benchmark from a directory of swagger files:

dotnet run -- -d /some/directory -o MyGeneratedBenchark.generated.cs

The directory mode will recursively search for .json files.

Resources

A big repository of swagger docs: https://github.com/APIs-guru/openapi-directory Swagger editor + yaml <-> json conversion tool: https://editor2.swagger.io Azure's official swagger docs: https://github.com/Azure/azure-rest-api-specs