Dart HTTP server framework for building REST APIs. Includes PostgreSQL ORM and OAuth2 provider.
BSD 2-Clause "Simplified" License
2.41k
stars
280
forks
source link
[OpenAPI client] Excluding ignored fields in request body #873
Open
owczaro opened 3 years ago
Let's use one of the templates as an example and follow the instructions below:
@Bind.body(ignore: ['id']) User user
in the 11th linepub run aqueduct document client
There is
But expected schema is
Any of ignored values should be present there.
Also, when we set
@Serialize(input: false, output: true)
to some model's field (inside that model class), then this field should be excluded as well.