[][src]Struct oas_gen::Oas3Builder

pub struct Oas3Builder { /* fields omitted */ }

Methods

impl Oas3Builder[src]

pub fn new() -> Self[src]

pub fn build(self, version: String) -> OpenApi[src]

pub fn list<O: JsonSchema + Serialize>(
    &mut self,
    web_path: &ApiPath,
    document_name: String,
    operation_description: Option<String>
)
[src]

pub fn fetch<O: JsonSchema + Serialize>(
    &mut self,
    web_path: &ApiPath,
    document_name: String,
    operation_description: Option<String>
)
[src]

pub fn delete<I: JsonSchema + Serialize, O: JsonSchema + Serialize>(
    &mut self,
    web_path: &ApiPath,
    document_name: String,
    operation_description: Option<String>
)
[src]

pub fn delete_by_key<O: JsonSchema + Serialize>(
    &mut self,
    web_path: &ApiPath,
    document_name: String,
    operation_description: Option<String>
)
[src]

pub fn create<I: JsonSchema + Serialize, O: JsonSchema + Serialize>(
    &mut self,
    web_path: &ApiPath,
    document_name: String,
    operation_description: Option<String>
)
[src]

pub fn update<I: JsonSchema + Serialize, O: JsonSchema + Serialize>(
    &mut self,
    web_path: &ApiPath,
    document_name: String,
    operation_description: Option<String>
)
[src]

pub fn replace<I: JsonSchema + Serialize, O: JsonSchema + Serialize>(
    &mut self,
    web_path: &ApiPath,
    document_name: String,
    operation_description: Option<String>
)
[src]

pub fn any<I: JsonSchema + Serialize, O: JsonSchema + Serialize>(
    &mut self,
    web_path: &ApiPath,
    method: Method,
    document_name: String,
    operation_name: String,
    operation_description: Option<String>
)
[src]

Trait Implementations

impl Clone for Oas3Builder[src]

impl Debug for Oas3Builder[src]

impl Default for Oas3Builder[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.