title: Cant see scroll menu when working with enum
body: <p>I want to define enum in <code>openAPI</code>.</p>
  <p>I looked at this post:</p>
  <p><a href="https://stackoverflow.com/questions/27603871/how-to-define-an-enum-in-openapi-swagger">How to define an enum in OpenAPI (Swagger)?</a></p>
  <p>and I want to be able to see the enum like:</p>
  <p><a href="https://i.stack.imgur.com/l2goc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/l2goc.png" alt="enter image description here" /></a></p>
  <p>I'm working with <code>components</code> and I define it as:</p>
  <pre><code>components:
    
    schemas:
    
      FilterImg:
        type: object
        properties:
            name:
              type: string
              enum: [&quot;img_1&quot;, &quot;img_2&quot;]
            value:
              type: string
  </code></pre>
  <p>And I'm using it:</p>
  <pre><code>post:
        summary: Add new img
        tags:
          - img
        description: Lets a user post a new img
        requestBody:
          required: true
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FilterImg'
        responses:
          '200':
            description: Successfully
      
  </code></pre>
  <p>But I can't see the enum as enum scroll menu (in the web browser), as we can see it in the example.</p>
  <p>What am I missing ?</p>