Skip to content

v1.2.0

Latest
Compare
Choose a tag to compare
@HelgeSverre HelgeSverre released this 05 Jan 21:30

What's Changed

  • DTO Generation: SDK Generator will now generate DTOs from openapi specs, the DTOs
  • Authenticator in Connector class, The SDK Generator will detect which authentication method that is used in the API and setup the scaffolding for Authentication in the Connector class, supports apiKey (in header, query), HTTP auth (basic, digest), Bearer Token, Header Token, and also support OAuth2 Authentication using Client Credentials and Authorization Code Grant (see the Saloon OAuth2 Docs for more info on how that works.
  • Bumped required PHP version up from ^8.1 to ^8.2

Upgrading

You might have to run the following to upgrade:

composer global require crescat-io/saloon-sdk-generator:^1.2.0 -W

New Contributors

Full Changelog: v1.1.0...v1.2.0