[][src]Trait doodle::Schema

pub trait Schema: SchemaMeta {
    fn get_fields_openapi() -> Value { ... }
fn append_to_schema(schema: &mut Map<String, Value>) { ... } }

Provides methods to get the serde_json::Value representations of the type schema

Provided methods

fn get_fields_openapi() -> Value

Return a json representation of the schema

fn append_to_schema(schema: &mut Map<String, Value>)

Append the definition of Self to an existing json dictionary

Loading content...

Implementors

Loading content...