-
## 🙋🏻♂️ 환경 세팅
RestControllerAdvice를 통해 일괄적으로 예외발생시 handle하는 클래스를 생성합니다.
## 📖 참고 사항
https://velog.io/@banjjoknim/RestControllerAdvice
-
Should Endpoints use these for error message? It might be deprecated
Links:
* [RFC 2616 14.46 Warning](https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html)
* [RFC 2047](https://tools.ietf.o…
-
[PBI](https://dev.azure.com/Payoneer/Payoneer/_workitems/edit/845553)
[Template Repo](https://dev.azure.com/Payoneer/Payoneer/_git/infrastructure-template-net8-api-service)
- System.Text.Json
- [F…
-
**Is your feature request related to a problem? Please describe.**
Some clients cannot access to error code from headers.
**Describe the solution you'd like**
Adding error code to API Error objec…
-
**Is your feature request related to RFC7807? Please describe.**
The positive experience of RFC 7807, whose journey began in 2016, is concluded (**deprecation**) but also confirmed with a new offic…
-
We do not document our error handling (possible status codes and messages). In addition our current implementation is inconsistent, e.g. an error on the @login endpoint encapsulates the error type/mes…
tisto updated
5 years ago
-
### Requirements
- [X] Is this a feature request? For questions or discussions use https://lemmy.ml/c/lemmy_support
- [X] Did you check to see if this issue already exists?
- [X] Is this only a f…
-
Currently the media types are defined via `@Produces` and return types can be defined via `@ResponseCode` in conjunction with `@TypeHint`. However, there is no way to associate the media type with the…
-
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Describe the bug
This issue is the same as reported and resolved here: https://github.com/dotnet/aspnetc…
dsun1 updated
4 months ago
-
```js
const Koa = require('koa');
const app = new Koa();
app.use(ctx => {
ctx.set('Content-Type', 'application/vnd.myapi.v1+json');
ctx.body = {message: 'hello'};
});
app.listen(3000);
```…