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
Hey there! First of, thanks for this library, it's pretty useful :)
So my use case is as follow:
/// Get events time series analytics.////// This endpoint returns click and scan counts over time.#[protect("_USER","owner")]#[api_operation(tag = "analytics")]pubasyncfnget_events_timeseries(Header(CurrentOrg(current_org)):Header<CurrentOrg>,pool: web::Data<PgPool>,_key:ApiKey,query: actix_web::Result<web::Query<AnalyticsTimeRange>>,) -> Result<OkJson<Vec<TimeSeriesStats>>, errors::PError>{
...}
Currently, apistos doesn't document the query parts as parameters in the openapi spec generated, it's omitting it. I suppose this is because actix_web::Result isn't supported (can it even be supported?).
I see the same issue when using Option<>, it's just omitted instead of marked as non-required.
If you have some time to look at it, or even just to point me on how it should be resolved (if possible), it'd be appreciated!
The text was updated successfully, but these errors were encountered:
Hey there! First of, thanks for this library, it's pretty useful :)
So my use case is as follow:
Currently, apistos doesn't document the
query
parts as parameters in the openapi spec generated, it's omitting it. I suppose this is because actix_web::Result isn't supported (can it even be supported?).I see the same issue when using Option<>, it's just omitted instead of marked as non-required.
If you have some time to look at it, or even just to point me on how it should be resolved (if possible), it'd be appreciated!
The text was updated successfully, but these errors were encountered: