RestEase icon indicating copy to clipboard operation
RestEase copied to clipboard

Testers needed for VisualStudio extension `RestEaseClientGenerator`

Open StefH opened this issue 5 years ago • 11 comments

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)

I somebody has time, please test and provide feedback or issues on my github project.

Best regards, Stef

StefH avatar Dec 25 '19 11:12 StefH

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)

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 .

arnoldpistorius avatar Dec 25 '19 12:12 arnoldpistorius

Nice one!

It'd be nice to see a small example input/output in the README.

canton7 avatar Dec 26 '19 13:12 canton7

@canton7 I've updated the readme

StefH avatar Dec 27 '19 15:12 StefH

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)

  • #9 - Support multiple Content-Types and fix Model names [enhancement] contributed by StefH

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 - Fix method naming contributed by StefH
  • #2 - Create VisualStudio Extension [enhancement] contributed by StefH

StefH avatar Jan 15 '20 19:01 StefH

1.0.6 (20 January 2020)

  • #16 - DefineAllMethodHeadersOnInterface and GenerationType [enhancement] contributed by StefH
  • #17 - Add dictionary support for properties [bug] contributed by apollo2030
  • #18 - Add option to update UserSetting file with new options (with default value) [enhancement] contributed by StefH

StefH avatar Jan 21 '20 06:01 StefH

1.0.8 (29 February 2020)

  • #20 - Add RAML + update Enum support contributed by StefH

1.0.7 (22 January 2020)

  • #19 - DefineSharedMethodQueryParametersOnInterface [enhancement] contributed by StefH

StefH avatar Feb 29 '20 10:02 StefH

StefH avatar Jun 15 '20 18:06 StefH

Closing, as I'm tidying up the issue list and a year's publicity isn't bad 😄

canton7 avatar Dec 26 '20 17:12 canton7

That said, I think I'd like to put a section in the README on third-party tools, and include this.

canton7 avatar Dec 27 '20 12:12 canton7

Sounds like plan !

;-)

StefH avatar Dec 27 '20 12:12 StefH

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

godefroi avatar Jul 14 '23 16:07 godefroi