fermyon / hippo-openapi

OpenAPI clients and related artifacts for Hippo
Apache License 2.0
3 stars 3 forks source link

ChannelRevisionSelectionStrategy should handle their string values #6

Closed bacongobbler closed 2 years ago

bacongobbler commented 2 years ago

Right now, the generated clients only accept their numerical counterparts. They should be generated to use their string values.

https://github.com/fermyon/hippo-openapi/blob/b022f5f6871c8cf2a49914ddd1824535674732e8/clients/rust/src/models/channel_revision_selection_strategy.rs#L13-L20

bacongobbler commented 2 years ago

fixed in https://github.com/fermyon/hippo-openapi/commit/f3bb9ec429daa2261856503812ade08dec1fcc01