This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
unexpected error in Open-API generation | |
java.lang.RuntimeException: Could not process model 'Animal'.Please make sure that your schema is correct! | |
at org.openapitools.codegen.DefaultGenerator.generateModels (DefaultGenerator.java:475) | |
at org.openapitools.codegen.DefaultGenerator.generate (DefaultGenerator.java:850) | |
at org.openapitools.codegen.plugin.CodeGenMojo.execute (CodeGenMojo.java:734) | |
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) | |
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210) | |
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) | |
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) | |
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"openapi" : "3.0.1", | |
"info" : { | |
"title" : "Test API", | |
"description" : "API", | |
"contact" : { | |
"name" : "Foo", | |
"url" : "https://foo.com", | |
"email" : "foo@foo.com" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"openapi" : "3.0.1", | |
"info" : { | |
"title" : "Test API", | |
"description" : "API", | |
"contact" : { | |
"name" : "Foo", | |
"url" : "https://foo.com", | |
"email" : "foo@foo.com" | |
}, |