-
What is the actual difference with https://github.com/PDMLab/http-problem-details and should I use it instead?
ackvf updated
4 years ago
-
You could currently perform validation of a controller param manually:
```php
class UserController extends Controller
{
private IValidator $validator;
// Inject validator into constru…
-
Specifically, it'd be good to document API development guidelines that included:
1. The default to `gRPC`
2. The need for the gateway
3. "Help" object. Smth like:
```protobuf
package help.v1a…
-
Chris Troutner:
Would love to see some GitHub issues with examples of the error strings you're seeing. I know we're not handling all our errors as per best practice/standards. I want to fix that.
…
-
### Describe the bug
ValidationProblemDetails/ProblemDetails serialization to Xml uses incorrect casing
### To Reproduce
Steps to reproduce the behavior:
using ASP.NET Core 2.2
return a Validat…
-
Currently HTTP endpoints return JSON like:
```
{"type":"about:blank","title":"Internal Server Error"}
or
{"type":"about:blank","title":"Bad Request"}
```
This tells nothing for developers an…
-
https://github.com/readium/readium-desktop/blob/42a6ab3efa20879db9f8f4b6503e15551b93df19/src/main/services/lcp.ts#L187
https://github.com/readium/readium-desktop/blob/42a6ab3efa20879db9f8f4b6503e15…
-
All the content on this page ()and pretty much the whole Net Core docs) presumes you are generating UI pages. My app is a pure REST API with no UI. How do a wire up error handling so that my result …
-
Symfony Validator component has a built in feature to normalize a `ConstraintViolationListInterface` to an RFC7807 output. However, you need to do this by returning this yourself like so:
```php
…
-
Based on:
1. RFC https://tools.ietf.org/html/rfc7807
2. Best implementation of this RFC is done by a Java library, https://github.com/zalando/problem. I will (try to) port all features. Go has no …