Constellation, Spacedust, Slingshot, UFOs: atproto crates and services for microcosm
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

all collections limit: use serde to fill default

still doesn't show up in the schema output but at least now it's not accidentally required.

phil c265181b f4b6be19

+3
+3
ufos/src/server.rs
··· 248 248 #[derive(Debug, Deserialize, JsonSchema)] 249 249 struct AllCollectionsQuery { 250 250 /// The maximum number of collections to return in one request. 251 + /// 252 + /// Default: 100 251 253 #[schemars(range(min = 1, max = 200), default = "all_collections_default_limit")] 254 + #[serde(default = "all_collections_default_limit")] 252 255 limit: usize, 253 256 /// Always omit the cursor for the first request. If more collections than the limit are available, the response will contain a non-null `cursor` to include with the next request. 254 257 cursor: Option<String>,