RouteCheck 0.0.3
dotnet tool install --global RouteCheck --version 0.0.3
dotnet new tool-manifest
dotnet tool install --local RouteCheck --version 0.0.3
#tool dotnet:?package=RouteCheck&version=0.0.3
nuke :add-package RouteCheck --version 0.0.3
RouteCheck
Check your API routes in your Terminal.
RouteCheck is a dotnet tool for checking/viewing your API routes in your terminal. The check command (default) shows you all routes in a nice table with some basic information. RouteCheck basically starts your application and calls the /openapi/v1.json endpoint and displays the returned JSON.
Currently this only works if you are using the
Microsoft.AspNetCore.OpenApipackage and expose the generated JSON via an endpoint.
Installation
You can install PackCheck as a dotnet tool via NuGet:
# Install
dotnet tool install --global RouteCheck
# Update
dotnet tool update --global RouteCheck
Usage
In your terminal cd into a ASP.NET project and run:
routecheck
This should give you something like this:
You can also provide a path to the web app via the path option:
routecheck --path /absolute/path/to/webapp
# or
routecheck -p relativ/path/to/webapp
If you use a custom OpenApi endpoint, you can set the openApiEndpoint option:
routecheck --openApiEndpoint /some/other/endpoint
For help run:
routecheck -h
LICENSE
MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.