The final example is based on the loosely coupled service with code generation.
The last iteration moves application logic out of the HTTP handlers to a separate layer.
Generating both MySQL and OpenAPI code happens automatically when starting docker-compose.
To regenerate the models, you can restart the containers:
docker-compose restart sqlboiler
docker-compose restart oapi-codegen
See details in docker/sqlboiler and docker/oapi-codegen.