-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
V1 #116
base: main
Are you sure you want to change the base?
Conversation
a02a244
to
d556697
Compare
Hello! Thank you for your work! Looking forward to v1 release. Could you also add this wrapping function to use actix_service::{boxed::BoxService, ServiceFactory, Transform};
use actix_web::body::MessageBody;
use actix_web::dev::{ServiceRequest, ServiceResponse};
impl Route {
// ...
pub fn wrap<M, B>(self, mw: M) -> Route
where
B: MessageBody + 'static,
M: Transform<
BoxService<ServiceRequest, ServiceResponse, Error>,
ServiceRequest,
Response = ServiceResponse<B>,
Error = Error,
InitError = (),
> + 'static,
{
let oas_version = get_oas_version();
Route {
oas_version,
operation: self.operation,
path_item_type: self.path_item_type,
components: self.components,
inner: self.inner.wrap(mw),
}
}
} |
Hi, just added it. |
Thanks for your work! I just integrated the latest prerelease (here), and a quite happy with the utopia replacement, great work ! It was a bit difficult to sometimes find the right documentation, but it's understandable since it's not yet released 😅 2 things:
|
Hi,
|
Todo: determine what to do with internally tagged enum with schemars 1.0.0-alpha.17 behaviour
Prepare v1 release.
Add support for OAS3.1 (Webhooks and new schema specification) as well as callbacks.