CLOSE - Properties defined with type number (should be integer or float based on the valid types)

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major
    • CSD2
    • Affects Version/s: None
    • Component/s: Profile-YAML
    • None
    • Hide

      Fixed the one remaining example that still used this old type.

      Show
      Fixed the one remaining example that still used this old type.

      In multiple places in the specs we have properties defined using the type number:

      my_app_port:
      type: number

      Number is not a valid type for a property and the type should be replaced by integer or float.

      my_app_port:
      type: integer

      Reminder: below are the valid types as defined in the spec:

      Valid aliases Type URI
      string tag:yaml.org,2002:str (default)
      integer tag:yaml.org,2002:int
      float tag:yaml.org,2002:float
      boolean tag:yaml.org,2002:bool (i.e., a value either ‘true’ or ‘false’)
      timestamp tag:yaml.org,2002:timestamp
      null tag:yaml.org,2002:null

            Assignee:
            Matthew Rutkowski (Inactive)
            Reporter:
            Luc Boutier (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: