camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sw1m1k <>
Subject camel swagger doesn't support array of objects as input type
Date Mon, 10 Oct 2016 12:42:44 GMT
Hello, I have a problem with swagger rest dsl. I have a rest service with
input and output type- array of objects, for method POST:
            <post type="bla.bla.bla.Product[]"
outType="bla.bla.bla.Product[]" bindingMode="json">
                <description>Create Products</description>
                <responseMessage message="Created Product"/>
Problem is that camel swagger doesn't create correct "Example Value" for
request. For response everything works fine. Example Value of Request:
Example Value of Response:
So [] is missing from request. If i correctly investigated
"RestSwaggerReader" class, this functionality is missing from
camel-swagger-java 2.17.

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message