Skip to content

Add support for generating code for Spring RestClient#14

Merged
pimterry merged 7 commits intohttptoolkit:mainfrom
jamezrin:main
Nov 6, 2025
Merged

Add support for generating code for Spring RestClient#14
pimterry merged 7 commits intohttptoolkit:mainfrom
jamezrin:main

Conversation

@jamezrin
Copy link
Contributor

@jamezrin jamezrin commented Nov 2, 2025

Missed an option to export requests using Spring Framework's RestClient, I haven't tested it in HTTPToolkit yet (I have yet to look what changes would be necessary) but the tests look good, the code is accurate.

I thought about maybe making the output runnable (within a method, imports, etc) but maybe it's a bit overkill?

Copy link
Member

@pimterry pimterry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! This looks fantastic 👍

I don't think there's any need to make it fully runnable standalone, we don't do that for other Java snippets, and for most use cases I think this is perfect as-is.

I'll merge, release & pull into HTTP Toolkit now.

@pimterry pimterry merged commit 87a98a3 into httptoolkit:main Nov 6, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants