[Cleanup] Make Config's namingStrategy and accessModifier params consistent by czechboy0 · Pull Request #713 · apple/swift-openapi-generator (original) (raw)

Motivation

A missed fixup from #708: #708 (comment)

Modifications

Removed the default from Config.init and forced all callers to make a choice on the naming strategy, just like for accessModifier.

Result

Consistent handling of these two parameters.

Test Plan

Tests passed locally.