Skip to content

Commit 3aa2c86

Browse files
committed
Output the resourcePath when no models are found rather than the basePath
1 parent 5a65980 commit 3aa2c86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/com/wordnik/swagger/codegen/spec/SwaggerSpecValidator.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class SwaggerSpecValidator(private val doc: ResourceListing,
5555
fixInputDataTypes(models.toMap, apis)
5656
fixModels(models.toMap)
5757
}
58-
case None => LOGGER.warning("no models found for listing " + api.basePath)
58+
case None => LOGGER.warning("No models found for listing: " + api.resourcePath)
5959
}
6060
})
6161

0 commit comments

Comments
 (0)