Commit a29ce6de authored by Jerome Royan's avatar Jerome Royan
Browse files

Remove query reference to a schema with enums as it is not supported by all generators

parent 19463fb4
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -115,8 +115,13 @@ paths:
        in: query
        description: Mode representing the context of the Relocalization information (AR device to WorldAnchor/Trackable or WorldAnchor/Trackable to AR device)
        required: true
        ## issue with some generator when a query reference a schemas with enums 
        ## Suppress reference to '../common/commonopenapi.yaml#/components/schemas/Mode_WorldAnalysis'.
        schema:
          $ref: '../common/commonopenapi.yaml#/components/schemas/Mode_WorldAnalysis'
          description: Mode representing the context of the relocalization information (AR device to WorldAnchor/Trackable or WorldAnchor/Trackable to AR device)
          type: string
          enum: [TRACKABLES_TO_DEVICE, DEVICE_TO_TRACKABLES]
          example: TRACKABLES_TO_DEVICE
      responses: 
        '200':
          description: Successful operation.