Skip to content

Commit e9f72d7

Browse files
committed
Add missing types to openapi
1 parent 9006aee commit e9f72d7

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

rust/Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rust/agama-server/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ anyhow = "1.0"
1111
agama-lib = { path = "../agama-lib" }
1212
agama-utils = { path = "../agama-utils" }
1313
agama-l10n = { path = "../agama-l10n" }
14+
agama-locale-data = { path = "../agama-locale-data" }
1415
agama-manager = { path = "../agama-manager" }
1516
zbus = { version = "5", default-features = false, features = ["tokio"] }
1617
uuid = { version = "1.10.0", features = ["v4"] }

rust/agama-server/src/web/docs/config.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,15 @@ impl ApiDocBuilder for ConfigApiDocBuilder {
168168
.schema_from::<agama_utils::api::Scope>()
169169
.schema_from::<agama_utils::api::SystemInfo>()
170170
.schema_from::<agama_utils::api::l10n::SystemInfo>()
171+
.schema_from::<agama_utils::api::l10n::LocaleEntry>()
172+
.schema_from::<agama_utils::api::l10n::Keymap>()
173+
.schema_from::<agama_utils::api::l10n::TimezoneEntry>()
171174
.schema_from::<agama_utils::api::l10n::Config>()
172175
.schema_from::<agama_utils::api::Proposal>()
173176
.schema_from::<agama_utils::api::l10n::Proposal>()
177+
.schema_from::<agama_locale_data::LocaleId>()
178+
.schema_from::<agama_locale_data::KeymapId>()
179+
.schema_from::<agama_locale_data::TimezoneId>()
174180
.build()
175181
}
176182
}

0 commit comments

Comments
 (0)