JSON Schema-like type definition.
Definition in file schema.hpp.
Go to the source code of this file.
#include <memory>#include <optional>#include <string>#include <unordered_map>#include <unordered_set>#include <variant>#include <vector>#include <userver/formats/yaml_fwd.hpp>
This graph shows which files directly or indirectly include this file:Classes | |
| class | yaml_config::SchemaPtr |
| struct | yaml_config::Schema |
| JSON Schema-like type definition. More... | |
Namespaces | |
| namespace | yaml_config |
| Utilities to work with static YAML config. | |
Enumerations | |
| enum class | FieldType { kBool , kInteger , kNumber , kString , kArray , kObject } |
Functions | |
| std::string | yaml_config::ToString (FieldType type) |
| formats::yaml::Value | yaml_config::Serialize (const SchemaPtr &schema, formats::serialize::To< formats::yaml::Value >) |
| Schema | yaml_config::Parse (const formats::yaml::Value &schema, formats::parse::To< Schema >) |
| formats::yaml::Value | yaml_config::Serialize (const Schema &schema, formats::serialize::To< formats::yaml::Value >) |