diff --git a/apidocs/openapi.yaml b/apidocs/openapi.yaml index 248c5a3d..8049027c 100644 --- a/apidocs/openapi.yaml +++ b/apidocs/openapi.yaml @@ -296,10 +296,11 @@ components: type: array items: oneOf: + - $ref: '#/components/schemas/PathReaderHLSMuxer' + - $ref: '#/components/schemas/PathReaderRTMPConn' + - $ref: '#/components/schemas/PathReaderRTMPSConn' - $ref: '#/components/schemas/PathReaderRTSPSession' - $ref: '#/components/schemas/PathReaderRTSPSSession' - - $ref: '#/components/schemas/PathReaderRTMPConn' - - $ref: '#/components/schemas/PathReaderHLSMuxer' - $ref: '#/components/schemas/PathReaderWebRTCConn' PathSourceRTSPSession: @@ -366,6 +367,31 @@ components: type: string enum: [rpiCameraSource] + PathReaderHLSMuxer: + type: object + properties: + type: + type: string + enum: [hlsMuxer] + + PathReaderRTMPConn: + type: object + properties: + type: + type: string + enum: [rtmpConn] + id: + type: string + + PathReaderRTMPSConn: + type: object + properties: + type: + type: string + enum: [rtmpsConn] + id: + type: string + PathReaderRTSPSession: type: object properties: @@ -384,22 +410,6 @@ components: id: type: string - PathReaderRTMPConn: - type: object - properties: - type: - type: string - enum: [rtmpConn] - id: - type: string - - PathReaderHLSMuxer: - type: object - properties: - type: - type: string - enum: [hlsMuxer] - PathReaderWebRTCConn: type: object properties: