aspnetcore/src/Routing/tools/Swaggatherer
Ryan Brandenburg d18558c3ab Reorganize source code in preparation to move into aspnet/AspNetCore
Prior to reorganization, this source code was found in 3d828221a1
2018-11-21 16:10:55 -08:00
..
Program.cs Reorganize source code in preparation to move into aspnet/AspNetCore 2018-11-21 16:10:55 -08:00
README.md Reorganize source code in preparation to move into aspnet/AspNetCore 2018-11-21 16:10:55 -08:00
RouteEntry.cs Reorganize source code in preparation to move into aspnet/AspNetCore 2018-11-21 16:10:55 -08:00
Swaggatherer.csproj Reorganize source code in preparation to move into aspnet/AspNetCore 2018-11-21 16:10:55 -08:00
SwaggathererApplication.cs Reorganize source code in preparation to move into aspnet/AspNetCore 2018-11-21 16:10:55 -08:00
Template.cs Reorganize source code in preparation to move into aspnet/AspNetCore 2018-11-21 16:10:55 -08: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