Commit Graph

67 Commits

Author SHA1 Message Date
Patrick Stevens
2220f88053 Compose records in arg parser (#234) 2024-09-03 23:04:23 +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
398cd04a2a Support DateTimeOffset in JSON generators (#179) 2024-07-01 18:08:09 +01:00
Patrick Stevens
434c042510 Omit upcasts where possible (#178) 2024-07-01 17:45:36 +01:00
Patrick Stevens
c590db2a65 JSON enums (#175) 2024-06-27 21:23:06 +01:00
Patrick Stevens
6a81513a93 Add nullable support to JSON generators (#174) 2024-06-27 08:40:58 +01:00
Patrick Stevens
ba31689145 Also allow serialising units of measure (#171) 2024-06-25 00:04:56 +01:00
Patrick Stevens
85929d49d5 Support units of measure in JsonParse (#170) 2024-06-24 23:23:23 +01:00
Patrick Stevens
4901e7cdf4 Add visibility modifiers in JsonParse/Serialize (#165) 2024-06-15 21:03:59 +01:00
Patrick Stevens
f371ee59fe Say which mock function wasn't implemented (#160) 2024-06-04 18:36:49 +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
b98080690d Finish DU parsing (#151) 2024-05-30 22:27:15 +01:00
Patrick Stevens
81b7e5361d Another grand refactor (#150) 2024-05-30 20:34:53 +01:00
Patrick Stevens
35cd94cba1 Add JSON serialisation of DUs (#144) 2024-05-30 12:00:55 +01:00
Patrick Stevens
4b9f63d374 Express HttpClient as extension method (#140) 2024-05-24 22:09:33 +01:00
Patrick Stevens
b9ba07a8a7 JSON parse all primitive types (#139) 2024-05-24 21:19:04 +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
e3081c3136 Deal with unit type in generated mock (#124) 2024-04-17 08:44:31 +01:00
Patrick Stevens
232d2ba5ec Relax arg checking strictness (#123) 2024-04-16 22:47:06 +01:00
Patrick Stevens
f7458f521e Track inheritance in GenerateMock (#122) 2024-04-16 22:23:32 +01:00
Patrick Stevens
7b49505064 Absolute bare-bones support for generics in cata (#101) 2024-02-19 00:57:14 +00:00
Patrick Stevens
3209372b5b Add another instance of MyList (#100) 2024-02-18 14:13:34 +00:00
Patrick Stevens
1bbbf4bd06 Fix a bug in the cata (#98) 2024-02-18 14:04:59 +00: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
afc952241d Add docstring to generated mock (#95) 2024-02-13 23:19:47 +00:00
Patrick Stevens
c3af52596f Permit public mocks (#94) 2024-02-13 19:58:30 +00:00
Patrick Stevens
8bd13c0bb4 Add open statements in generated mocks (#93) 2024-02-13 19:26:50 +00:00
Patrick Stevens
82b40ee559 Fix baffling dependency issue (#88) 2024-02-07 09:40:44 +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
1215834795 Allow serde of guids (#82) 2024-02-06 18:50:26 +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
dependabot[bot]
5c1841c3d2 Bump fantomas from 6.3.0-alpha-005 to 6.3.0-alpha-007 (#74)
* Bump fantomas from 6.3.0-alpha-005 to 6.3.0-alpha-007

Bumps [fantomas](https://github.com/fsprojects/fantomas) from 6.3.0-alpha-005 to 6.3.0-alpha-007.
- [Release notes](https://github.com/fsprojects/fantomas/releases)
- [Changelog](https://github.com/fsprojects/fantomas/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fsprojects/fantomas/commits)

---
updated-dependencies:
- dependency-name: fantomas
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix

* Reformat

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Smaug123 <patrick+github@patrickstevens.co.uk>
2024-01-29 19:11:20 +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
aafee9495a JSON serialization (#69) 2024-01-26 10:53:08 +00:00
Patrick Stevens
515ea306a2 Map/dictionary support, and check for null when passing to ofJson (#68) 2024-01-25 19:56:44 +00:00
Patrick Stevens
948fbfbc84 Allow JSON parsing to happen in an extension method (#63) 2024-01-08 00:50:33 +00:00
Patrick Stevens
ad2eeaaa4f URI support (#59) 2024-01-03 19:47:59 +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