Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rburgst/micronaut-spring-example
example project showing that type converters dont work
https://github.com/rburgst/micronaut-spring-example
Last synced: 2 days ago
JSON representation
example project showing that type converters dont work
- Host: GitHub
- URL: https://github.com/rburgst/micronaut-spring-example
- Owner: rburgst
- Created: 2018-12-02T08:23:12.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-02T08:27:24.000Z (about 6 years ago)
- Last Synced: 2024-11-08T17:53:07.187Z (about 2 months ago)
- Language: Java
- Size: 57.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Micronaut for Spring Example
Example showing the problem that custom spring formatters
are not available in micronaut-spring.Launch the application via
```bash
./gradlew bootRun
```Then in a 2nd shell send the following http request
```bash
http ":8080/greet?tenantId=7364b7d8-490d-49b9-8e18-7b96f41734e8"
HTTP/1.1 400 Bad Request
Date: Sun, 2 Dec 2018 09:16:43 GMT
connection: close
content-length: 184
content-type: application/json{
"_links": {
"self": {
"href": "/greet?tenantId=7364b7d8-490d-49b9-8e18-7b96f41734e8",
"templated": false
}
},
"message": "Required argument [TenantId tenantId] not specified",
"path": "/tenantId"
}
```