Hi everybody!
A bit of context:
I am using the contentDeliveryApi to fetch data for a Next.js frontend. In the next.js application I am using the openapi-typescript package to fetch and dynamically generate types based on the schema from swagger. Ever since upgrading to v15 the generated documentTypes don't match the data I get from the contentDeliveryApi anymore. For example fetching a contact page will have a documentType of "contact" but the generated type will be "contactContentModel" instead of just "contact". So it seems like the "ContentModel" suffix is added at some point in the process. Has anyone else experienced this?
openapi-typescript package:
https://github.com/openapi-ts/openapi-typescript/tree/main/packages/openapi-typescript