Installation
This is packaged as a .NET Tool and is published to nuget.org. You can install this specific version of this tool like this:
dotnet tool install --global HttpGenerator --version 0.6.0
Features
- Generate HTTP file(s) either as
- A single file containing all requests
- A file per request
- A file per tag
- Supports OpenAPI v2 and v3
- JSON and YAML formats
- Validation and error/warning/stats reporting
- Multiple input files
- Specify
Content-Type
for requests - Include
Authorization
headers - Acquire
Bearer
token from Azure Entra ID to use asAuthorization
header- Specify Tenant ID
- Specify Scope
- Variables for route parameters (.e.g.
/api/v1/pet/{{petId}}
) - Specify
base-url
for convenient environment switching - Include summaries and descriptions from OpenAPI specifications
What's Changed
- Include query string parameters on URL by @christianhelle in #108
- Use Azure Application Insights for Telemetry data by @christianhelle in #137
- Fix missing last character in URL by @christianhelle in #141
Full Changelog: 0.4.0...0.6.0