You project is awesome, I already use it!
My current workflow is as following:
1. I create my models in code. Thereby I embed structs of external packages.
2. As I am lazy and do not feel like re-creating all the OpenApi3 model definitions declaratively is use go-swagger, only using model annotations like // swagger:model and exporting the models only
3. As go swagger is stuck in OpenApi 2.0 I use a sed - script to update the created YAML-models by go-swagger and fix the $refs to create a crippled yet valid OpenApi3 - spec
4. I define my API using an OpenApi3 - editor. Currently I am using
editor.swagger.io as it doesn't mess with external refs to models
5. I scaffold my go app using oapi-codegen and the newly added -import-mapping, treating my own model as an external ref (which it somehow is, as I am embedding external struct members)
Ugly hack, mostly because of go-swagger stuck in OpenApi2, but a hack that works :)