You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use ResponseFromApiResource attribute to get sample response.
I saw that response/properties section in open api spec contains only type and example
Is it possible to get more detail, e.g.
nullable: true
format: "date"
and so on
?
I use Osteel validation package to compare swagger docs and real api response
and it fail because generated openapi spec not contain detailed data about data types
in October, I released a new version with this PR, which adds support for nullable, so you should update to 4.38.0 and check the Changelog for how to use it.
As for format: date, it's a bit tricky because I don't want to tie Scribe directly to OpenAPI. But I'll think about it, and I'm open to any suggestions.
Scribe version
4.37.1
Your question
I use ResponseFromApiResource attribute to get sample response.
I saw that response/properties section in open api spec contains only type and example
Is it possible to get more detail, e.g.
nullable: true
format: "date"
and so on
?
I use Osteel validation package to compare swagger docs and real api response
and it fail because generated openapi spec not contain detailed data about data types
Docs
The text was updated successfully, but these errors were encountered: