Commit 1c3bea21 authored by ruiyue's avatar ruiyue
Browse files

Merge branch...

Merge branch 'Rel19_CR0543_TS28.623_Update_Attribute_definition_for_TimeWindow' into 'Integration_Rel19_SA5_161_YAML'

Rel19_CR0543_TS28.623_Update_Attribute_definition_for_TimeWindow

See merge request !1723
parents 16ebe8c1 7466b056
Loading
Loading
Loading
Loading
Loading
+14 −32
Original line number Diff line number Diff line
@@ -129,36 +129,18 @@ components:
      pattern: '^[A-Fa-f0-9]{9}$'   
    TimeWindow:
      description: This datatype is used for writable attribute 
      oneOf:  
        - type: object
          properties:
            startTime:
              $ref: '#/components/schemas/DateTime'
            endTime:
              $ref: '#/components/schemas/DateTime'
        - type: object
      type: object
      properties:
        startTime:
          $ref: '#/components/schemas/DateTime'
        - type: object
          properties:
        endTime:
          $ref: '#/components/schemas/DateTime'
    TimeWindowRo:
      description: This datatype is used for readOnly attribute
      oneOf:
        - type: object
          properties:
            startTime:
              $ref: '#/components/schemas/DateTimeRo'
            endTime:
              $ref: '#/components/schemas/DateTimeRo'        
        - type: object
      type: object
      properties:
        startTime:
          $ref: '#/components/schemas/DateTimeRo'
        - type: object
          properties:
        endTime:
          $ref: '#/components/schemas/DateTimeRo'
    GeoCoordinate: