An open API service indexing awesome lists of open source software.

https://github.com/aimenux/jsonpathwebapidemo

Using json path in order to enrich validation errors in web api
https://github.com/aimenux/jsonpathwebapidemo

controller-api fluent-assertions fluent-validation integration-tests json-path minimal-api net60 web-api

Last synced: 16 days ago
JSON representation

Using json path in order to enrich validation errors in web api

Awesome Lists containing this project

README

          

[![.NET](https://github.com/aimenux/JsonPathWebApiDemo/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/aimenux/JsonPathWebApiDemo/actions/workflows/ci.yml)

# JsonPathWebApiDemo
```
Using json path in order to enrich validation errors in web api
```

> In this repo, i m using json path in order to enrich validation errors in web api
>
> :one: `Example01` Use of [controller api](https://learn.microsoft.com/en-us/aspnet/core/tutorials/first-web-api)
>
> :two: `Example02` Use of [minimal api](https://learn.microsoft.com/en-us/aspnet/core/tutorials/min-web-api)
>
>

**`Tools`** : vs22, net 6.0, fluent-validation, xunit, fluent-assertions, integration-tests