mirror of
https://gitlab.com/msrd0/gotham-restful.git
synced 2025-02-23 04:52:28 +00:00
Raw<T> should be always acceptable and therefore not declare any accepted types
This commit is contained in:
parent
659fd2f7e2
commit
84c942111e
1 changed files with 0 additions and 5 deletions
|
@ -464,11 +464,6 @@ impl<T : Into<Body>> ResourceResult for Raw<T>
|
|||
Ok(Response::new(StatusCode::OK, self.raw, Some(self.mime.clone())))
|
||||
}
|
||||
|
||||
fn accepted_types() -> Option<Vec<Mime>>
|
||||
{
|
||||
Some(vec![STAR_STAR])
|
||||
}
|
||||
|
||||
#[cfg(feature = "openapi")]
|
||||
fn schema() -> OpenapiSchema
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue