Comments (2)
Hey @clamothe!
I think this is working as expected.
Returning Unit
(aka. "no return value") is not the same as returning an ResponseEntity<Unit>
, it's behaving the same way as returning a ResponseEntity<Void>
.
Also, Hikaku can't know which behavior a user expects. Maybe some users think it should work like you propose, and some expect it to work like it does now.
from hikaku.
Apart from what @lmller wrote, I don't see a possibility to retrieve the type of the generic.
from hikaku.
Related Issues (20)
- Failed to get the implementation on Spring MVC 5.3.18
- Support OpenAPI 3.1
- Spring endpoints not discovered, `RequestMappingInfo.patternsCondition` returns null
- Support google-style custom methods api paths
- Add windows CI build
- Support OpenApi common parameters
- Fix linux build
- Tests for ClassLocator
- Query Parameter based on an object HOT 2
- Update spring-mvc to 5.2.0
- Unable to get code running on OpenJDK 11 HOT 9
- Spring Redirect Enpoint : produces attribute not empty HOT 4
- Support Spring Webflux HOT 3
- Base API path not considered HOT 2
- Allow undeclared endpoints HOT 1
- Regex error in regex replacement HOT 1
- Cannot locate classes with javax.ws.rs.Path HOT 1
- Allow to disable adding the HEAD and OPTIONS endpoints automatically in the Spring Converter HOT 2
- Will ktor be supported by Hikaku?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hikaku.