mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-07 10:58:55 +00:00
formatting
This commit is contained in:
parent
a019a438e0
commit
89b04b2e10
@ -88,9 +88,8 @@ abstract class BasicGenerator extends CodegenConfig with PathUtil {
|
||||
val apis: List[ApiListing] = getApis(host, doc, authorization)
|
||||
|
||||
val errors = new ListBuffer[ValidationError] ++ SwaggerValidator.validate(doc)
|
||||
for(api <- apis) {
|
||||
for(api <- apis)
|
||||
SwaggerValidator.validate(api, errors)
|
||||
}
|
||||
|
||||
errors.filter(_.severity == SwaggerValidator.ERROR).size match {
|
||||
case i: Int if i > 0 => {
|
||||
|
Loading…
Reference in New Issue
Block a user