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

How to enter application/x-www-form-urlencoded for a post body? #374

Closed
memelet opened this issue Nov 29, 2016 · 0 comments
Closed

How to enter application/x-www-form-urlencoded for a post body? #374

memelet opened this issue Nov 29, 2016 · 0 comments

Comments

@memelet
Copy link

memelet commented Nov 29, 2016

When the post body is defined as application/x-www-form-urlencoded with a type defining the structure, the UI shows only a dropdown for BODY with the single selection of 'application/x-www-form-urlencoded'. But no way to actually enter the form values.

types:
  TokenRequest:
    type: object
    properties:
      username:
        type: string
        required: true
      password:
        type: string
        required: true
      client_id:
        type: string
        required: true
      client_secret:
        type: string
        required: true
      grant_type:
        enum: [password]
        default: password
        required: true

post:
  body:
    application/x-www-form-urlencoded:
    type: TokenRequest
@jarrodek jarrodek added this to the File upload milestone Jul 19, 2017
@jarrodek jarrodek mentioned this issue Aug 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants