Skip to content

Commit 7e34059

Browse files
committed
Fail Kotlin sample compilation if API classes stop to be public
Serves as a 'regression test'.
1 parent 8c65a72 commit 7e34059

File tree

1 file changed

+7
-0
lines changed
  • samples/client/petstore/kotlin-jvm-spring-3-restclient/src/main/kotlin/org/openapitools/usage

1 file changed

+7
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
package org.openapitools.usage
2+
3+
import org.openapitools.client.apis.PetApi
4+
import org.springframework.web.client.RestClient
5+
6+
// 'regression test' that API classes are open https://github.com/OpenAPITools/openapi-generator/issues/22271
7+
class AspectJLikeUse(client: RestClient) : PetApi(client)

0 commit comments

Comments
 (0)