apple / apple/swift-openapi-generator

Introduce an "generate-config" command that dumps a default config file

Open
#447 1 comment 0 reactions 0 assignees View on GitHub
area/generator kind/enhancement size/S
Dominant language
Swift
Stars
2k
Forks
182
Avg merge
13h 28m
Merged PRs (30d)
5

Description

Introduce a "generate-config" command that dumps a default config file.

This should emit all the configuration options.

Required ones should have a reasonable value.
Optional ones should be commented out, and have their default value there.

With this, the user can more easily uncomment/customize values before digging through docs and the config file syntax.

Contributor guide

Open the contributing guide

Research direction

Start by locating the command entry point and the existing configuration definition and syntax used by swift-openapi-generator. Ensure the new generate-config command emits every option, with reasonable values for required options and commented defaults for optional ones; verify the generated file can be customized using the documented config syntax.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.