RestEase
RestEase copied to clipboard
Testers needed for VisualStudio extension `RestEaseClientGenerator`
Hi all,
I've created an Visual Studio extension which can generate a RestEase compatible interface + models from a swagger OpenApi specification file (.json, .yml or .yaml)
- For the extension, see this link.
- For the github project, see this link.
- You can also try it online via Blazor WebAssembly demo
I somebody has time, please test and provide feedback or issues on my github project.
Best regards, Stef
I will definately give it a try in about two weeks
Op wo 25 dec. 2019 12:47 schreef Stef Heyenrath [email protected]:
Hi all,
I've created an Visual Studio extension which can generate a RestEase compatible interface + models from a swagger OpenApi specification file (.json, .yml or .yaml)
- For the extension, see this link https://marketplace.visualstudio.com/items?itemName=StefHeyenrath.RestEaseClientGenerator .
- For the github project, see this link https://github.com/StefH/RestEase-Client-Generator.
I somebody has time, please test and provide feedback or issues on my github project.
Best regards, Stef
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/canton7/RestEase/issues/143?email_source=notifications&email_token=ABOKPSYDCDWTZEML7T3F73LQ2NB4ZA5CNFSM4J7EQCNKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ICTI3AA, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABOKPSYCAAUNVVTCHKXYYALQ2NB4ZANCNFSM4J7EQCNA .
Nice one!
It'd be nice to see a small example input/output in the README.
@canton7 I've updated the readme
New version released, for release-notes, see below:
1.0.5 (15 January 2020)
- #10 - Add option to force Content-Type to 'application/json' [enhancement] contributed by StefH
- #11 - Fix Method Naming [bug] contributed by StefH
- #12 - Add User Options file [enhancement] contributed by StefH
- #13 - Support for Security in Header [enhancement] contributed by StefH
- #14 - Add support for Headers in RestEase methods [enhancement] contributed by StefH
- #15 - Support optional parameters + Generate Primitive Properties As Nullable For OpenApi20 + Support extension 'x-nullable' [enhancement] contributed by StefH
1.0.4 (04 January 2020)
1.0.3 (02 January 2020)
- #7 - ExtensionMethods, InlineModels, Headers [enhancement] contributed by StefH
- #8 - Generate ApplicationOctetStream Extension methods [enhancement] contributed by StefH
1.0.2 (27 December 2019)
- #6 - Support application/x-www-form-urlencoded contributed by StefH
- #5 - formData is not correctly generated [bug]
1.0.1 (26 December 2019)
- #3 - More options (AddAuthorizationHeader, UseDateTimeOffset, MethodReturnType & AppendAsync) [enhancement] contributed by StefH
- #4 - Refactor some code contributed by StefH
1.0.0 (24 December 2019)
1.0.6 (20 January 2020)
1.0.8 (29 February 2020)
1.0.7 (22 January 2020)
- You can also try it online via Blazor WebAssembly demo
Closing, as I'm tidying up the issue list and a year's publicity isn't bad 😄
That said, I think I'd like to put a section in the README on third-party tools, and include this.
Sounds like plan !
;-)
This is still open, so my feedback is that it failed spectacularly:
$ dotnet resteaseclientgenerator -f .\tonic_api.json --DestinationFolder '.' -n tonic_client -a TonicApiClient
info: RestEaseClientGenerator[0] Starting
fail: RestEaseClientGenerator[0] OpenApiDiagnostic Errors: ,
The .json is available here: https://app.tonic.ai/swagger/v2023.07.0/swagger.json