Hi,

Actually, I now tried to import the project that was created by 
swagger-editor, after unzipping it, into Eclipse as a Maven projects, and 
it imported and also built with no error.

I also tried deleting the gradle dir in that project and it built 
correctly, so it seems like the project is ok even without the gradle 
artifacts?

I am trying to figure out how to test what I got now...

Jim

On Monday, December 4, 2017 at 1:29:12 PM UTC-5, O haya wrote:
>
> 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: *<[email protected]> on behalf of O haya <
>>> [email protected]>
>>> *Reply-To: *"[email protected]" <
>>> [email protected]>
>>> *Date: *Friday, December 1, 2017 at 12:18
>>> *To: *Swagger <[email protected]>
>>> *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 [email protected].
>>> 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to