Add HTTP Swagger client generator (#250)

This commit is contained in:
Patrick Stevens
2024-09-19 17:21:09 +01:00
committed by GitHub
parent 4482038e8a
commit 93a1b630c8
15 changed files with 71759 additions and 3 deletions

View File

@@ -0,0 +1,11 @@
namespace WoofWare.Myriad.Plugins
open System
[<AutoOpen>]
module internal Text =
let (|StartsWith|_|) (prefix : string) (s : string) : string option =
if s.StartsWith (prefix, StringComparison.Ordinal) then
Some (s.Substring prefix.Length)
else
None