agrestio / agrest

Server-side Java REST Framework for easy access to data graphs from various backends
https://agrest.io
Apache License 2.0
80 stars 34 forks source link

OpenAPI to expose attribute max length and whether a property is required #542

Open andrus opened 2 years ago

andrus commented 2 years ago

Let's add extra pieces of information to Agrest OpenAPI integration (and presumably, the underlying Ag model):

alevshunov commented 2 years ago

We have noticed that openapi lost the attribute format="time" for type="string" where db time of a field is a time.

andrus commented 2 years ago

@alevshunov I just opened a separate task. Seems like an easy fix.