Hey all, I have the following operation:

/foo/bar:
  get:
    description: Foobar
    operationId: GetFooBar
    parameters:
      - in: query
        name: baz
        schema:
          type: array
          items:
            type: string
    responses:
      200:
        description: OK
        schema:
          $ref: '#/definitions/Thing'



When my java client is generated, my function does not have the optional 
parameter.


/**
 * Foobar
 * 
 * @param baz  
 * @throws RestClientException when an error occurs. (TODO Elaborate on this)
 */
@Override
public Thing getFooBar(String baz) {




How can I get swagger to generate the function so that it won't require params?


I.e. public Thing getFooBar()

-- 
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 swagger-swaggersocket+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to