If we used codegen instead of swagger-editor to create either a Java client-side or server-side API would it be possible for codegen to create the API code in a Maven (but not Gradle) project? The problem I have is we do use Maven in our dev environment, but not Gradle and I am not sure if they will allow us to use Gradle.
On Friday, December 1, 2017 at 6:12:15 PM UTC-5, O haya wrote: > > Hi Ron, > > Ok thanks for that. > > Is there anyway to make the generated code/project compatible just for > Maven, without Gradle? > > Thanks again, > Jim > > On Friday, December 1, 2017 at 4:04:37 PM UTC-5, Ron wrote: >> >> The editor uses the codegen to provide you with the stubs. >> >> If you need more customization, you’d need to use the codegen directly. >> >> >> >> >> >> >> >> *From: *<swagger-sw...@googlegroups.com> on behalf of O haya < >> jim...@gmail.com> >> *Reply-To: *"swagger-sw...@googlegroups.com" < >> swagger-sw...@googlegroups.com> >> *Date: *Friday, December 1, 2017 at 12:18 >> *To: *Swagger <swagger-sw...@googlegroups.com> >> *Subject: *New to Swagger environment and question about Swagger-Editor >> vs. codegen? >> >> >> >> Hi, >> >> >> >> I am really new (just started) to working with the Swagger environment >> and tools, and have a question. >> >> >> >> I notice that with Swagger-Editor, you can use it to create stubs for >> client and for server (e.g., Java stubs). >> >> >> >> Also, my understanding is that, with codegen, you submit a yaml for a >> Swagger api and it gives you back a stub code. >> >> >> >> Is that correct? >> >> >> >> If so, are the code exported from Swagger-Editor and from codegen the >> same or similar? >> >> >> >> Also, for the code generated for Java clients and servers, it looks like >> they assume a gradle environment. Is there a way to get the Swagger-editor >> to generate Java code that only needs a Maven environment? >> >> >> >> Thanks, >> >> Jim >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Swagger" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to swagger-swaggersocket+unsubscr...@googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. >> >> -- You received this message because you are subscribed to the Google Groups "Swagger" group. To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggersocket+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.