### Combine Model and Framework Generation Source: https://github.com/sake92/openapi4s/blob/main/README.md Examples demonstrating how to combine different model and framework generation options using the openapi4s-cli. This allows for flexible generation of Scala code based on OpenAPI specifications. ```shell # circe models + http4s routes --models circe --framework http4s ``` ```shell # circe models + sharaf controllers --models circe --framework sharaf ``` ```shell # models only --models tupson --framework none ``` ```shell # framework only (expects existing com.example.models) --models none --framework http4s ``` -------------------------------- ### Release Project Script Source: https://github.com/sake92/openapi4s/blob/main/DEV.md Execute the release script to publish a new version of the project. Specify the version number as an argument. ```sh # RELEASE ./scripts/release.sh 0.6.4 ``` -------------------------------- ### Generate Sources with openapi4s-cli Source: https://github.com/sake92/openapi4s/blob/main/README.md Use the openapi4s-cli with a Coursier launcher to generate Scala sources. Specify model and framework backends, the OpenAPI URL, output folder, and base package. ```shell cs launch ba.sake::openapi4s-cli:0.7.0 -M ba.sake.openapi4s.cli.OpenApi4sMain -- \ --models tupson \ --framework sharaf \ --url openapi.json \ --baseFolder src \ --basePackage com.example ``` -------------------------------- ### Run Mill Build Commands Source: https://github.com/sake92/openapi4s/blob/main/DEV.md Execute standard Mill build tool commands for cleaning, reformatting code, running tests, and publishing locally. ```sh ./mill clean ``` ```sh ./mill __.reformat ``` ```sh ./mill __.test ``` ```sh ./mill __.publishLocal ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.