swagger-codegen-maven-plugin thread safe?

2017-07-26 Thread Dan Tran
Hi My maven build show this warning [WARNING] The following plugins are not marked @threadSafe in adm-agent-core: [WARNING] io.swagger:swagger-codegen-maven-plugin:2.2.2 [WARNING] org.codehaus.mojo:flatten-maven-plugin:1.0.0 [WARNING] Enable debug to see more precisely which goals are not marke

Example of self-referential (circular reference) in Swagger?

2017-07-26 Thread 'Toe Dipper' via Swagger
I'm working on defining a schema for defining hierarchical menu items. The rub is that each object can have children that are the same type of object. This self-referential structure is a bit tricky, however. Does anyone have an example of how to do this in a swagger file? In a JSON Schema f

Re: NPE with swagger-codegen 2.2.3 maven plugin

2017-07-26 Thread Dan Tran
i am reluctant to file bug since I dont have way to reproduce in such a way that codegen-gen dev can consume. Hope to have some advice by looking at stacktrace Thanks -Dan On Wed, Jul 26, 2017 at 11:37 AM, Ron Ratovsky wrote: > Please file a ticket on the project. > > > > > > > > *From: * on

Re: NPE with swagger-codegen 2.2.3 maven plugin

2017-07-26 Thread Ron Ratovsky
Please file a ticket on the project. From: on behalf of Dan Tran Reply-To: "swagger-swaggersocket@googlegroups.com" Date: Wednesday, 26 July 2017 at 0:31 To: Swagger Subject: Re: NPE with swagger-codegen 2.2.3 maven plugin stack trace update java.lang.RuntimeException: C

Swagger API document review by a user.

2017-07-26 Thread Gary Lemmon
I am attempting to view and exercise the API calls as displayed by https://(domain)/swagger . I am required to get an Auth token which has been done but then I need to use the token and a version number and pass them back with the subsequent Get statements. Not sure how to include these ite

publish an API on swaggerhub with a curl call ?

2017-07-26 Thread mhuin
Hello, Since it is possible to push a new version of an API via REST on swaggerhub, I wonder if it is possible to also publish the API in a similar fashion. After looking at the UI network calls I tried this: curl -X PUT -H "accept: application/json" -H "Authorization: ${API_KEY}" -H "Content-

Re: NPE with swagger-codegen 2.2.3 maven plugin

2017-07-26 Thread Dan Tran
stack trace update java.lang.RuntimeException: Could not process operation: Tag: AssetGroups Operation: addAssets Resource: put /api/v2/assetGroups/{id}/assetList Definitions: {Addresses=io.swagger.models.ModelImpl@9901aa0, AppHost=io.swagger.models.ModelImpl@8456d641, Exception: