You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The generated swagger lists a single value for these fields, instead of an enum of those values.
Broadcast.status
Broadcast.playListStatus
Broadcast.type
Broadcast.publishType
This is due to the allowed values for these are set as a single string with commas in.
The effect of this is that we can't do correct code generation on the generated swagger file. We first must do some regex magic to make the file usable.
I actually already opened a pull request for this, but I didn't know if that's an acceptable way to request changes #6739
Environment
Operating system and version: at build time
Java version: 17
Ant Media Server version: latest, but also in versions before
Browser name and version:
Steps to reproduce
Download the swagger file
Find: enum, the Broadcast properties should be the first you find.
Short description
The generated swagger lists a single value for these fields, instead of an enum of those values.
Broadcast.status
Broadcast.playListStatus
Broadcast.type
Broadcast.publishType
This is due to the allowed values for these are set as a single string with commas in.
The effect of this is that we can't do correct code generation on the generated swagger file. We first must do some regex magic to make the file usable.
I actually already opened a pull request for this, but I didn't know if that's an acceptable way to request changes
#6739
Environment
Steps to reproduce
Expected behavior
Actual behavior
Logs
no relevant logs
The text was updated successfully, but these errors were encountered: