twilio / twilio-oai

The Twilio OpenAPI Specification
MIT License
127 stars 81 forks source link

docs: Add blank defaults for optional enums #75

Open johnchaffee opened 2 years ago

johnchaffee commented 2 years 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 2 years 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).