httpgenerator

Generate .http files from OpenAPI (Swagger) specifications

MIT License

Stars
30
Committers
7

Bot releases are hidden (Show)

httpgenerator - v0.3.1 Latest Release

Published by christianhelle 8 months ago

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.3.1

Features

  • Generate HTTP file(s) either as a single large file containing all requests or as a file per request
  • 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 as Authorization 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

New Contributors

Full Changelog: https://github.com/christianhelle/httpgenerator/compare/0.3.0...0.3.1

httpgenerator - 0.3.0

Published by christianhelle 8 months ago

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.3.0

Features

  • Generate HTTP file(s) either as a single large file containing all requests or as a file per request
  • 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 as Authorization 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
Badges
Extracted from project README's
Build Smoke Tests NuGet Quality Gate Status codecov
Related Projects