File tree Expand file tree Collapse file tree
src/adapter/http/src/data/sign/eip712 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 18071807 "name" : " key" ,
18081808 "required" : true ,
18091809 "schema" : {
1810- "$ref" : " #/components/schemas/DidOdf"
1810+ "examples" : [
1811+ " did:odf:fed01a561ed291d9c38b6a561ed291d9c38b63017d606c75606006bfe2508acbc4c25"
1812+ ],
1813+ "type" : " string"
18111814 }
18121815 },
18131816 {
Original file line number Diff line number Diff line change 17761776 "name" : " key" ,
17771777 "required" : true ,
17781778 "schema" : {
1779- "$ref" : " #/components/schemas/DidOdf"
1779+ "examples" : [
1780+ " did:odf:fed01a561ed291d9c38b6a561ed291d9c38b63017d606c75606006bfe2508acbc4c25"
1781+ ],
1782+ "type" : " string"
17801783 }
17811784 },
17821785 {
Original file line number Diff line number Diff line change @@ -17,6 +17,11 @@ use std::collections::HashMap;
1717#[ serde( rename_all = "camelCase" , deny_unknown_fields) ]
1818#[ into_params( parameter_in = Query ) ]
1919pub struct SignEip712QueryParams {
20+ // NOTE: Workaround for:
21+ // - Nested `ToSchema` types referenced in an `IntoParams` structure is not included in
22+ // `#/components/schemas/`
23+ // https://github.com/juhaku/utoipa/issues/1388
24+ #[ param( inline) ]
2025 /// DID of the managed key to sign with
2126 pub key : odf:: metadata:: DidOdf ,
2227
You can’t perform that action at this time.
0 commit comments