misl commented on issue #2466: [Feature reqeust] OpenWhisk Java Client sdk
URL: 
https://github.com/apache/incubator-openwhisk/issues/2466#issuecomment-329208503
 
 
   Using the Openwhisk swagger definition I tried to create a Java Client 
Library myself, details can be found [here]( 
https://github.com/misl/openwhisk-client-java)
   
   Unfortunately Swagger code generation can not cope with properties having no 
type, as in:
   ```
           "KeyValue": {
               "required": [
                   "key",
                   "value"
               ],
               "properties": {
                   "key": {
                       "type": "string"
                   },
                   "value": {
                       "description": "Any JSON value"
                   }
               }
           }
   ```
   The resulting KeyValue class only has a `key` and no `value`.
   
   So I probably need to customize a swagger template file to achieve a usable 
KeyValue class.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to