In paritytech/substrate#13722, we've added support to allow pallets to optionally specify and expose an enum which gets aggregated into a bigger enum with other pallets containing the same enum with the same name in construct_runtime. We'd like to expose this information as metadata for the pallet and the runtime.
This is the same feature as requested in #48 (comment).