I use the openapi-generator as well, but I write the spec first, then generate both client- and server-side models. Not the client itself so much; I don't like the client-side clients it generates much, and the server-side client is barebones at best. (Server is in Go, client is in Typescript)