Introduce an "init" subcommand for bootstrapping a package #448
Labels
area/generator
Affects: plugin, CLI, config file.
kind/usability
Usability of generated code, ergonomics.
status/needs-design
Needs further discussion and a concrete proposal.
Milestone
Introduce an "init" subcommand for bootstrapping a package.
At the very least, should bootstrap (decision: client vs server, asked by the CLI):
swift run
For example:
swift-openapi-generator init-package --mode client
would create a new package, with a simple OpenAPI doc, and the generator configured etc. This package would work out of the box withswift run
. Just need two variants: client and server.The text was updated successfully, but these errors were encountered: