Skip to content

Commit

Permalink
Fix tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
srinivasankavitha committed Feb 15, 2023
1 parent 0852788 commit 3640d21
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ class CodeGen(private val config: CodeGenConfig) {
}

private fun generateJavaClientEntitiesRepresentations(definitions: Collection<Definition<*>>): CodeGenResult {
return if (config.generateClientApi) {
return if (config.generateClientApi || config.generateClientApiv2) {
val generatedRepresentations = mutableMapOf<String, Any>()
return definitions.asSequence()
.filterIsInstance<ObjectTypeDefinition>()
Expand Down

0 comments on commit 3640d21

Please sign in to comment.