Commit Graph

49 Commits

Author SHA1 Message Date
Patrick Stevens
4fe4e3f277 Add JSON headers automatically to Body in HTTP client (#395) 2025-06-18 15:46:14 +00:00
Patrick Stevens
19761db983 Fix treatment of Patch (#374) 2025-04-21 22:46:01 +00:00
Patrick Stevens
425d5313b4 Be compatible with <Nullable>enable</Nullable> (#369) 2025-04-21 18:43:52 +01:00
Patrick Stevens
7930039ad1 Revert "Some fixes to nullability (#365)" (#366)
This reverts commit 8d275f0047.
2025-04-20 17:02:40 +00:00
Patrick Stevens
8d275f0047 Some fixes to nullability (#365) 2025-04-20 16:26:45 +00:00
Patrick Stevens
d59ebdfccb Use more of the Whippet Fantomas client lib (#284) 2024-10-06 21:22:24 +00:00
Patrick Stevens
40106d8aa3 Use WoofWare.Whippet.Fantomas rather than Myriad.Core (#280) 2024-10-06 20:22:06 +00:00
Patrick Stevens
16e6b91548 Use EscapeDataString instead of UrlEncode (#278) 2024-10-03 15:10:39 +00:00
Patrick Stevens
8488883835 Remove more of Myriad.Core (#276) 2024-10-02 20:38:00 +00:00
Patrick Stevens
0652744c57 Allow using fsproj annotations instead of attributes (#275) 2024-10-02 19:30:21 +00:00
Patrick Stevens
4482038e8a Support individual per-method headers (#268) 2024-09-19 17:08:38 +01:00
Patrick Stevens
0a1783d6ed Support [<BasePath>] (#263) 2024-09-15 17:38:03 +00:00
Patrick Stevens
417ca45c37 Basic arg parser (#216) 2024-08-26 11:54:35 +01:00
Patrick Stevens
569b3cc553 Pull out general changes from ArgParser PR (#217) 2024-08-25 19:23:23 +00:00
Patrick Stevens
a868b8c08e No-op change to test the pipeline (#212) 2024-08-13 22:06:54 +00:00
Patrick Stevens
434c042510 Omit upcasts where possible (#178) 2024-07-01 17:45:36 +01:00
Patrick Stevens
adf497c5db Tidy up a bit more (#156) 2024-06-01 15:57:53 +01:00
Patrick Stevens
7b14e52e9d Use our DSLs a bit more (#154) 2024-05-31 19:20:28 +01:00
Patrick Stevens
8e47f39efc Make more extensive use of our own DSLs (#153) 2024-05-31 16:54:05 +00:00
Patrick Stevens
81b7e5361d Another grand refactor (#150) 2024-05-30 20:34:53 +01:00
Patrick Stevens
4b9f63d374 Express HttpClient as extension method (#140) 2024-05-24 22:09:33 +01:00
Patrick Stevens
e80ed51498 Strip parens in Path parameter (#138) 2024-05-24 20:36:12 +01:00
Patrick Stevens
91136a25ab Enable query params in Get request endpoint (#131) 2024-04-30 19:03:20 +00:00
Patrick Stevens
c51038448a Be more forgiving about the source of the attributes (#129) 2024-04-29 20:46:14 +01:00
Patrick Stevens
09780efb07 Add RestEase attributes (#128) 2024-04-29 17:51:26 +01:00
Patrick Stevens
f7458f521e Track inheritance in GenerateMock (#122) 2024-04-16 22:23:32 +01:00
Patrick Stevens
3ea1c7ab79 Add catamorphism generator (#97) 2024-02-17 23:16:54 +00:00
Patrick Stevens
f55a810608 Allow cancellation token arg to have another name (#96) 2024-02-14 23:17:20 +00:00
Patrick Stevens
7ef393a28d Split attributes into their own assembly (#86) 2024-02-07 01:27:57 +00:00
Patrick Stevens
4e18e8b1bf Accept empty Path attr (#85) 2024-02-06 20:49:51 +00:00
Patrick Stevens
a0fb7ee43a Correctly deal with JsonNull (#84) 2024-02-06 20:42:04 +00:00
Patrick Stevens
e453a6f07c Allow general expressions in GET attribute arg (#81) 2024-02-06 18:43:45 +00:00
Patrick Stevens
f803b44311 Implement RestEase variable headers (#76) 2024-01-29 21:24:41 +00:00
Patrick Stevens
0f7724903b Use more general serialisation for body params (#72) 2024-01-28 16:34:01 +00:00
Patrick Stevens
f83ac24a73 Implement JSON serialisation of body params (#71) 2024-01-26 17:54:45 +00:00
Patrick Stevens
ae3840d537 Handle returning RestEase.Response (#70) 2024-01-26 14:50:52 +00:00
Patrick Stevens
7b3bd32323 Add ability to mock out curried functions (#58) 2023-12-31 12:28:51 +00:00
Patrick Stevens
ff2c08d54f Stamp out records corresponding to interfaces (#56) 2023-12-30 23:41:27 +00:00
Patrick Stevens
dd7e004e36 Add initial support for [<Body>] (#46) 2023-12-30 11:35:22 +00:00
Patrick Stevens
4c55bbed22 Fix BaseAddress semantics (#45) 2023-12-30 10:37:30 +00:00
Patrick Stevens
0d231c5200 Respect BasePath attribute (#44) 2023-12-30 10:24:42 +00:00
Patrick Stevens
59be1f1806 Implement AllowAnyStatusCode (#41) 2023-12-29 23:01:45 +00:00
Patrick Stevens
346d6e8321 Implement HttpResponseMessage return type (#40) 2023-12-29 18:44:23 +00:00
Patrick Stevens
9e9744d37b Allow stream return type (#39) 2023-12-29 18:36:10 +00:00
Patrick Stevens
dc0f0803b3 Allow string return type, and URL-encode param (#38) 2023-12-29 18:13:39 +00:00
Patrick Stevens
44bf3eed24 Print out missing field names (#29) 2023-12-29 11:54:53 +00:00
Patrick Stevens
d4212ca887 Fix treatment of slashes and add tests (#28) 2023-12-29 11:07:32 +00:00
Patrick Stevens
67d870002e HTTP clients (#21) 2023-12-28 19:46:52 +00:00
Patrick Stevens
146554df72 No-op refactor of SynExpr helpers (#20) 2023-12-28 11:17:05 +00:00