  namespace OpenAPI

  module Helpers =

    let (>=>) switch1 switch2 =
      match switch1 with
        | Ok v1 ->
          match switch2 with
           | Ok v2 ->
            Ok(v1, v2)
            | Error e -> Error e
        | Error e -> Error e