Uploaded image for project: 'Cost Management'
  1. Cost Management
  2. COST-5822

Open api schema enum and objects with the same name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Minor Minor
    • None
    • None
    • API
    • 5
    • False
    • None
    • False

      These are either enums and objects, and it is creating issues on clients source code

      • ReportResolution
      • ReportTimeScopeUnits
      • ReportTimeScopeValue
      • ReportResourceScope

      openapi-typescript library generating the correspondent TS files are exporting either the Object and the Enum with the same name, which generates issues at compilation time. We have a workaround for this, which is avoid using `--root-types-no-schema-prefix` flag and "Schema" prefix is added to the object ones

              Unassigned Unassigned
              emingora Enrique Mingorance Cano
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: