Generating .ts services out of springboot endpoints #11193
ningelschlingel
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have two springboot Restcontrollers which both have a GetMapping-method called getData().
When swagger generates .ts services out of them, one method is called getData(...) and the other one getData1(...) even though they are in separate files/classes and everything works fine when removing the 1 manually.
It gets worse when after regenerating, the names flip randomly and getData(...) is now called getData1(...) and vice versa.
Is this a known problem?
https://stackoverflow.com/questions/69361615/swagger-code-generation-not-deterministic
Beta Was this translation helpful? Give feedback.
All reactions