forked from loafle/openapi-generator-original
consistent indentation (spaces, not tabs)
This commit is contained in:
parent
d4a94fbf52
commit
66dee928d2
@ -166,7 +166,7 @@ public class CodeGenMojo extends AbstractMojo {
|
|||||||
try {
|
try {
|
||||||
new DefaultGenerator().opts(input).generate();
|
new DefaultGenerator().opts(input).generate();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
// Maven logs exceptions thrown by plugins only if invoked with -e
|
// Maven logs exceptions thrown by plugins only if invoked with -e
|
||||||
// I find it annoying to jump through hoops to get basic diagnostic information,
|
// I find it annoying to jump through hoops to get basic diagnostic information,
|
||||||
// so let's log it in any case:
|
// so let's log it in any case:
|
||||||
getLog().error(e);
|
getLog().error(e);
|
||||||
|
@ -511,8 +511,8 @@ public class DefaultGenerator extends AbstractGenerator implements Generator {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception ex) {
|
catch (Exception ex) {
|
||||||
String msg = "Could not process operation:\n" //
|
String msg = "Could not process operation:\n" //
|
||||||
+ " Tag: " + tag + "\n"//
|
+ " Tag: " + tag + "\n"//
|
||||||
+ " Operation: " + operation.getOperationId() + "\n" //
|
+ " Operation: " + operation.getOperationId() + "\n" //
|
||||||
+ " Resource: " + httpMethod + " " + resourcePath + "\n"//
|
+ " Resource: " + httpMethod + " " + resourcePath + "\n"//
|
||||||
+ " Definitions: " + swagger.getDefinitions();
|
+ " Definitions: " + swagger.getDefinitions();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user