Skip to content

v0.12.0

Compare
Choose a tag to compare
@mnahkies mnahkies released this 05 Aug 07:03
· 64 commits to main since this release

What's Changed

Another small release, adding a new CLI parameter OPENAPI_REMOTE_SPEC_REQUEST_HEADERS / --remote-spec-request-headers that allows request headers to be sent when fetching specifications from remote URI's.

This makes it possible to generate from a remote URI that is behind some form of header based authentication, eg: Authorization: Bearer <bla> (which includes cookie based authentication since cookies are just a Cookie header, and basic auth as this is just Authorization: Basic <credentials>).

The headers are scoped to specific domains/urls such that you can mix and match sources without leaking tokens to the wrong servers.

Features

  • feat: support remote specs with authentication by @mnahkies in #230

Misc

Full Changelog: v0.11.2...v0.12.0