I am not able to figure out a way to display the requestBody properties as 
"input fields" instead of a json. Basically I need to display the formdata 
as form rather than json.

Is this supported?

openapi: 3.0.1
info:
  title: My API
  description: A sample API
  version: 1.2.3
security:
  - AccessToken: []
  - OAuth2: []
paths:
  /pet/token:
    post:
      summary: Something
      description: 'Blah'
      operationId: authorize
      parameters:
        - name: Ext-Access-Token
          in: header
          description: something something.
          schema:
            type: string
            enum:
              - 'true'
              - 'false'
      requestBody:
        description: Form data
        content:
          *application/x-www-form-urlencoded*:
            schema:
              type: object
              properties:
                id:
                  type: string
                  format: uuid
        required: true

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