OAGi / Score

Score
MIT License
9 stars 6 forks source link

Eliminate GUID from Codelist during expression - Enabled Code Generation too. #1266

Open dubnemo opened 2 years ago

dubnemo commented 2 years ago

The GUID makes the enum class too long, using Newtonsoft code generators, feedback from AgGateway.

components:
  schemas:
    **cl712_1_gpssourceenumcontenttype_675e37551a7c4de19a259d5539045604:**
      type: "string"
      format: "token"
      enum:
      - "Unknown"
      - "Drawn"
      - "MobileGPS"
      - "DeereRTK"
      - "DeereRTKX"
      - "DeereSF1"
      - "DeereWAAS"
      - "GNSSfix"
      - "DGNSSfix"
      - "PreciseGNSS"
      - "RTKFixedInteger"
      - "RTKFloat"
      - "EstDRMode"
      - "ManualInput"
      - "SimulateMode"
      - "DesktopGeneratedData"
      - "Other"
      - "PPP"
      - "SBAS"
      - "Mechanical"
dubnemo commented 2 years ago

Please replace with
cl_{Name}_{Agency ID}_{Version ID}