---
title: "Comment by Flagrare on \"Typesafe API testing with Spring Boot, Kotlin and OpenFeign\" | Hashnode"
description: "This approach is pretty good, although I wasn&#39;t able to make it work at all when using OpenAPI generator, because the files generated are classes, and not i"
url: "https://hashnode.com/posts/typesafe-api-testing-with-spring-boot-kotlin-and-openfeign/61ee5abee247b2151e61ba80/comment/64909839c167b41645fcfc05"
---

[Discussion](https://hashnode.com/posts/typesafe-api-testing-with-spring-boot-kotlin-and-openfeign/61ee5abee247b2151e61ba80)

Comment [Typesafe API testing with Spring Boot, Kotlin and OpenFeign](https://hashnode.com/posts/typesafe-api-testing-with-spring-boot-kotlin-and-openfeign/61ee5abee247b2151e61ba80)

[Flagrare](https://hashnode.com/@Flagrare)

[Jun 19, 2023](https://hashnode.com/posts/typesafe-api-testing-with-spring-boot-kotlin-and-openfeign/61ee5abee247b2151e61ba80/comment/64909839c167b41645fcfc05)

This approach is pretty good, although I wasn't able to make it work at all when using OpenAPI generator, because the files generated are classes, and not interfaces.

I wish I could use it, but I could not wrap my head around a way to do it.
