title: How to force Swagger Codegen to generate an enum which is not referenced from any other object?
body: <p>I have an OpenAPI spec with multiple enums:</p>
  <pre class="lang-yaml prettyprint-override"><code>SocialLinkType:
    type: string
    enum:
      - FACEBOOK
      - YOUTUBE
      - INSTAGRAM
      - TWITTER
      - PINTEREST
      - LINKEDIN
      - TIKTOK
      - TUMBLR
      - WHATSAPP
      - VIMEO
      - SNAPCHAT
      - APPLE
      - ANDROID
  
  ColorType:
    type: string
    enum:
      - ACCENT_1
      - ACCENT_2
      - BACKGROUND_1
      - BACKGROUND_2
      - TEXT
      - SOLID_BUTTON
      - OUTLINE_BUTTON
  </code></pre>
  <p>The issue I'm facing is about <code>ColorType</code>. Unlike <code>SocialLinkType</code> it is not referenced from any other component described in OpenAPI spec. As a result <code>ColorType</code> Java enum is not generated, so my question is about forcing Swagger Codegen to generate Java code for every item in the spec.</p>
  <p>Can this be achieved somehow?</p>