@@ -48,7 +48,7 @@ use types::ComponentFirmwareHashStatus;
48
48
// call into each other. Since `gateway` is a lower-level service and never
49
49
// calls into Nexus, the current scheme is okay.)
50
50
progenitor:: generate_api!(
51
- spec = "../../openapi/gateway.json" ,
51
+ spec = "../../openapi/gateway/gateway-latest .json" ,
52
52
interface = Positional ,
53
53
inner_type = slog:: Logger ,
54
54
pre_hook = ( |log: & slog:: Logger , request: & reqwest:: Request | {
@@ -70,6 +70,7 @@ progenitor::generate_api!(
70
70
RotImageError = { derives = [ thiserror:: Error , PartialEq , Eq , PartialOrd , Ord ] } ,
71
71
RotState = { derives = [ PartialEq , Eq , PartialOrd , Ord ] } ,
72
72
SpComponentCaboose = { derives = [ PartialEq , Eq ] } ,
73
+ SpComponentInfo = { derives = [ PartialEq , Eq ] } ,
73
74
SpIdentifier = { derives = [ Copy , PartialEq , Hash , Eq ] } ,
74
75
SpIgnition = { derives = [ PartialEq , Eq , PartialOrd , Ord ] } ,
75
76
SpIgnitionSystemType = { derives = [ Copy , PartialEq , Eq , PartialOrd , Ord ] } ,
@@ -82,6 +83,8 @@ progenitor::generate_api!(
82
83
RotSlot = gateway_types:: rot:: RotSlot ,
83
84
Ena = ereport_types:: Ena ,
84
85
Ereport = ereport_types:: Ereport ,
86
+ Ereports = ereport_types:: Ereports ,
87
+ TaskDump = gateway_types:: task_dump:: TaskDump ,
85
88
TypedUuidForEreporterRestartKind = omicron_uuid_kinds:: EreporterRestartUuid ,
86
89
TypedUuidForMupdateKind = omicron_uuid_kinds:: MupdateUuid ,
87
90
} ,
0 commit comments