I don't know how to answer your question about it to generate types from an openapi doc. Your question about the generation of types from an openapi doc is incomprehensible and impossible.