Hey guys, i am building a restful api with compojure-api and using swagger. 
i have to return array of arrays (2D, kind of matrix) as result a http 
request but i can figure out achieve that with swagger. Can anyone help me 
please?

(POST "/grid" []
        :return vector   <--------------------- how to set as return type an 
array of arrays (2D, kind of matrix)
        :body [grid vector]
        :summary "Create an empty grid"
        (ok grid))


-- 
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