As part of a big project I've worked on, we created a tool to generate Typescript types + runtime validation + SDK (client) from an openapi definition. The tool as been used quite extensively to help in the integration of many services and APIs. https://github.com/pagopa/openapi-codegen-ts