twilio / twilio-oai

The Twilio OpenAPI Specification
MIT License
123 stars 77 forks source link

docs: Add blank defaults for optional enums #75

Open johnchaffee opened 1 year ago

johnchaffee commented 1 year ago

When rendering this spec in Swagger UI, the first item in the enum is getting selected by default and causing errors in some cases (e.g.message_enum_schedule_type of fixed fails unless you are sending a scheduled message). Setting the default to blank solves it.

childish-sambino commented 1 year ago

This issue has been added to our internal backlog to be prioritized as it changes generated configuration. +1s on the issue summary will help it move up the backlog (DI-2363).