Support individual per-method headers (#268)

This commit is contained in:
Patrick Stevens
2024-09-19 17:08:38 +01:00
committed by GitHub
parent a41fa9dd37
commit 4482038e8a
4 changed files with 121 additions and 21 deletions

View File

@@ -188,6 +188,7 @@ type IApiWithHeaders =
abstract SomeOtherHeader : int
[<Get "endpoint/{param}">]
[<Header("Something-Else", "val")>]
abstract GetPathParam : [<Path "param">] parameter : string * ?ct : CancellationToken -> Task<string>
[<WoofWare.Myriad.Plugins.HttpClient>]