Schema endpoint
All checks were successful
CI / Typos (push) Successful in 19s
CI / Build and test (push) Successful in 1m46s
CI / Clippy (push) Successful in 3m24s
Docker / build-and-push (push) Successful in 4m8s
CI / Build and test (all features) (push) Successful in 7m9s

This commit is contained in:
2026-03-26 20:04:33 -07:00
parent fac300431a
commit 795d2ee825
4 changed files with 49 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
use serde::Deserialize;
use serde::{Deserialize, Serialize};
use std::{collections::HashMap, fmt::Debug, path::PathBuf};
use crate::{objectpath::ObjectPath, pattern::GroupPattern};
@@ -61,7 +61,7 @@ pub enum Source {
// MARK: schema
//
#[derive(Debug, Clone, Deserialize)]
#[derive(Debug, Clone, Deserialize, Serialize)]
pub struct FieldSpec {
/// How to find this field in a data entry
pub path: Vec<ObjectPath>,