Comparing 1.6.0...1.7.0 · apple/swift-openapi-generator (original) (raw)

Commits on Jan 6, 2025

  1. Add a CLI option for selecting the naming strategy (#708)

Motivation

The recently introduced naming strategy is only configurable in the
config file, but pure CLI users might also want to use it without
creating a config file.

Modifications

Add a --naming-strategy option to the swift-openapi-generator CLI.

Result

Users can use the new naming strategy without creating a config file, if
they didn't have one before.

Test Plan

Tested manually on a sample project.
@czechboy0
Configuration menu
Browse the repository at this point in the history 2. Add missing imports to fix Swift 6.1+ (#709)

Motivation

Currently unit tests on Swift 6.1+ toolchains are failing due to a few
missing imports.
That these are coming up is good, that's why we've enabled
MemberImportVisibility.

Modifications

Add the missing imports to stop relying on implicitly imported extension
methods.

Result

Unit tests compile again on Swift 6.1+.

Test Plan

Tested locally, will further verify CI is happy.
@czechboy0
Configuration menu
Browse the repository at this point in the history 3. Configuration menu
Browse the repository at this point in the history