v0.4.0
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.4.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
- Update StringExtensions.cs by @sjchapmanuk in #66
- Fix issue when setting --base-url to an environment variable by @christianhelle in #71
- Introduce --timeout option by @christianhelle in #95
- Handle multi-line operation descriptions by @christianhelle in #96
- Generate file per tag by @ikopytko in #98
New Contributors
- @sjchapmanuk made their first contribution in #66
- @ikopytko made their first contribution in #98
Full Changelog: 0.3.0...0.4.0