ProjectLibertyLabs / gateway

Gateway microservices for DSNP/Frequency
https://projectlibertylabs.github.io/gateway/
Apache License 2.0
4 stars 1 forks source link

Announcement types should come from a package/be exported to OpenApi spec #273

Open JoeCap08055 opened 4 months ago

JoeCap08055 commented 4 months ago

Description

Currently, the announcement types for determining which webhooks to invoke for a given announcement come from a locally-defined enum, with hard-coded strings (which are lowercased in some places for comparison, but not all). As a developer, these announcement types should come from a single source of truth (ideally a DSNP-provided package), and be propagated to downstream consumers of the API.

Acceptance Criteria

wilwade commented 1 month ago

Might be coming from DSNP soon