Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue when trying post body params #27

Open
fbalarini opened this issue May 30, 2018 · 1 comment
Open

Issue when trying post body params #27

fbalarini opened this issue May 30, 2018 · 1 comment

Comments

@fbalarini
Copy link

Hello @zuzannast!

I'm using your gem to an internal project and I'm having the following issue: When I "try out" a post to an endpoint is not taking into account the information I added to the field.

Please find below more data to reproduce the issue:

  /employers/login:
    post:
      operationId: "loginEmployerAccount"
      parameters:
      - in: "body"
        name: user
        description: "logs in an employer user "
        schema:
          type: "object"
          properties:
            email:
              type: "string"
            password:
              type: "string"
            device_id:
              type: "string"
      responses:
        200:
          description: "successful operation"
          headers:
            APIKeyHeader:
              type: string
@zuzannast
Copy link
Owner

Hello @fbalarini, sorry for the late response. Could you try defining params in query?
Like this:

 parameters:
      - in: query
        name: user
        description: "logs in an employer user "

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants