Skip to content

Commit 2d193a0

Browse files
committed
Merge pull request #218 from JDiPierro/output_resource_path_for_no_models_found
Output the resourcePath when no models are found rather than the basePath
2 parents 09e7bd9 + 3aa2c86 commit 2d193a0

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)