Github   Telegram
Loading...
Searching...
No Matches
Classes | Namespaces | Enumerations | Functions
schema.hpp File Reference

JSON Schema-like type definition. More...

#include <memory>
#include <optional>
#include <string>
#include <unordered_map>
#include <unordered_set>
#include <variant>
#include <vector>
#include <userver/formats/yaml_fwd.hpp>
+ Include dependency graph for schema.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of 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 {
  kInt ,
  kString ,
  kBool ,
  kDouble ,
  kObject ,
  kArray
}
 

Functions

std::string yaml_config::ToString (FieldType type)
 
Schema yaml_config::Parse (const formats::yaml::Value &schema, formats::parse::To< Schema >)
 

Detailed Description

JSON Schema-like type definition.

Definition in file schema.hpp.