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

Does not work with parameters in: formData #43

Open
Romick2005 opened this issue Jun 20, 2019 · 0 comments
Open

Does not work with parameters in: formData #43

Romick2005 opened this issue Jun 20, 2019 · 0 comments

Comments

@Romick2005
Copy link

Is it suppose to work with application/x-www-form-urlencoded content ty&
My swaager config:

/**
 * @swagger
 * /auth/getToken:
 *   x-swagger-router-controller: User
 *   post:
 *     operationId: getToken
 *     summary: User Authentication returning a JWT.
 *     description: Authenticate a user.
 *     tags:
 *       - Authorization
 *     consumes:
 *       - application/x-www-form-urlencoded
 *     parameters:
 *       - in: formData
 *         name: email
 *         description: A user's email.
 *         type: string
 *         required: true
 *         minLength: 4
 *       - in: formData
 *         name: password
 *         description: A user's password.
 *         type: string
 *         required: true
 *         minLength: 8
 *     produces:
 *       - application/json
 *     responses:
 *       200:
 *         description: Send authorization JWT
 *       403:
 *         description: Authorization failed
 */
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

1 participant