userver: yaml_config::Schema Struct Reference
Loading...
Searching...
No Matches
yaml_config::Schema Struct Referencefinal

#include <userver/yaml_config/schema.hpp>

Detailed Description

+ Collaboration diagram for yaml_config::Schema:

Public Member Functions

void UpdateDescription (std::string new_description)
 

Static Public Member Functions

static Schema EmptyObject ()
 

Public Attributes

std::string path
 
FieldType type {}
 
std::string description
 
std::optional< std::string > default_description
 
std::optional< std::variant< bool, SchemaPtr > > additional_properties
 
std::optional< std::unordered_map< std::string, SchemaPtr > > properties
 
std::optional< SchemaPtritems
 
std::optional< std::unordered_set< std::string > > enum_values
 
std::optional< double > minimum
 
std::optional< double > maximum
 

Member Data Documentation

◆ additional_properties

std::optional<std::variant<bool, SchemaPtr> > yaml_config::Schema::additional_properties

Definition at line 65 of file schema.hpp.

◆ default_description

std::optional<std::string> yaml_config::Schema::default_description

Definition at line 64 of file schema.hpp.

◆ description

std::string yaml_config::Schema::description

Definition at line 63 of file schema.hpp.

◆ enum_values

std::optional<std::unordered_set<std::string> > yaml_config::Schema::enum_values

Definition at line 68 of file schema.hpp.

◆ items

std::optional<SchemaPtr> yaml_config::Schema::items

Definition at line 67 of file schema.hpp.

◆ maximum

std::optional<double> yaml_config::Schema::maximum

Definition at line 70 of file schema.hpp.

◆ minimum

std::optional<double> yaml_config::Schema::minimum

Definition at line 69 of file schema.hpp.

◆ path

std::string yaml_config::Schema::path

Definition at line 60 of file schema.hpp.

◆ properties

std::optional<std::unordered_map<std::string, SchemaPtr> > yaml_config::Schema::properties

Definition at line 66 of file schema.hpp.

◆ type

FieldType yaml_config::Schema::type {}

Definition at line 62 of file schema.hpp.


The documentation for this struct was generated from the following file: