openapi: 3.0.0
info:
  title: API using a typeAlias mapped with importMapping
  description: See https://github.com/OpenAPITools/openapi-generator/issues/3589
  version: 1.0.0
paths:
  /type-alias:
    get:
      responses:
        200:
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ParentType'

components:
  schemas:
    ParentType:
      title: ParentType
      type: object
      properties:
        typeAlias:
          $ref: '#/components/schemas/TypeAlias'
    TypeAlias:
      type: string