{"record":{"id":"c73f72547516a0b8","repo":"DioxusLabs/dioxus","slug":"unexpected-field-expected-one-of-summary-descri","errorCode":null,"errorMessage":"unexpected field, expected one of (summary, description, id, hidden, tags, security, responses, transform)","messagePattern":"unexpected field, expected one of \\(summary, description, id, hidden, tags, security, responses, transform\\)","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/fullstack-macro/src/lib.rs","lineNumber":1274,"sourceCode":"            security: None,\n            responses: None,\n            transform: None,\n        };\n\n        while !input.is_empty() {\n            let ident = input.parse::<Ident>()?;\n            let _ = input.parse::<Token![:]>()?;\n            match ident.to_string().as_str() {\n                \"summary\" => this.summary = Some((ident, input.parse()?)),\n                \"description\" => this.description = Some((ident, input.parse()?)),\n                \"id\" => this.id = Some((ident, input.parse()?)),\n                \"hidden\" => this.hidden = Some((ident, input.parse()?)),\n                \"tags\" => this.tags = Some((ident, input.parse()?)),\n                \"security\" => this.security = Some((ident, input.parse()?)),\n                \"responses\" => this.responses = Some((ident, input.parse()?)),\n                \"transform\" => this.transform = Some((ident, input.parse()?)),\n                _ => {\n                    return Err(syn::Error::new(\n                        ident.span(),\n                        \"unexpected field, expected one of (summary, description, id, hidden, tags, security, responses, transform)\",\n                    ));\n                }\n            }\n            let _ = input.parse::<Token![,]>().ok();\n        }\n\n        Ok(this)\n    }\n}\n\nimpl OapiOptions {\n    fn merge_with_fn(&mut self, function: &ItemFn) {\n        if self.description.is_none() {\n            self.description = doc_iter(&function.attrs)\n                .skip(2)\n                .map(|item| item.value())","sourceCodeStart":1256,"sourceCodeEnd":1292,"githubUrl":"https://github.com/DioxusLabs/dioxus/blob/24f6a829df0dfa203961a98ea4cae21c2ff27e28/packages/fullstack-macro/src/lib.rs#L1256-L1292","documentation":"While parsing the OpenAPI options in a route attribute, an unknown key was encountered. Only the listed fields (summary, description, id, hidden, tags, security, responses, transform) are accepted; anything else is a typo or unsupported option.","triggerScenarios":"Thrown at packages/fullstack-macro/src/lib.rs:1274 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Use only the supported OpenAPI fields: summary, description, id, hidden, tags, security, responses, or transform; remove or rename the unexpected field."],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"24f6a829df0dfa203961a98ea4cae21c2ff27e28","analyzedAt":"2026-08-23T07:10:14.078Z","contentChangedAt":"2026-08-23T07:10:14.078Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}