Open nick-infinitegiving opened 2 months ago
I know it's not ideal but have you tried the following ?
@column()
// @enum(pending, active, deleted)
public status: string
Hi @Ovoda - Yes we did however our goal was to maintain the typing. We did hack it in so that if a property is tagged as an enum it automatically sets the type in the definition to string. Thank you for the suggestion!
Ran into this error below and was wondering if anyone has a recommendation how to proceed? -Thx
Resolver error at components.schemas..properties..$ref
Could not resolve reference: Could not resolve pointer: /components/schemas/'pending' does not exist in document
Fails with and without the enum tag.