Himenon/openapi-typescript-code-generator

Bug: Build error when items is an empty object when type array

Himenon opened this issue · 0 comments

Steps To Reproduce

components:
  schemas:
    List:
      type: array
      items: {}

Playground

The current behavior

Build Error

The expected behavior

type List = {}