If I set field type to string and format to binary in requestBody, then Elements should render it as a field with file selector button.
However, currently it renders it as a normal text field.
There is a feature implemented by this PR, I saw screenshots of it (at least partly) working in this issue. So it seems the feature stopped working.
Context
Developers using API documentation are unable to test endpoints requiring file upload.
Current Behavior
The file field renders as a normal text field.
Expected Behavior
The file field should present file selector button.
If I set field type to
string
and format tobinary
in requestBody, then Elements should render it as a field with file selector button. However, currently it renders it as a normal text field.There is a feature implemented by this PR, I saw screenshots of it (at least partly) working in this issue. So it seems the feature stopped working.
Context
Developers using API documentation are unable to test endpoints requiring file upload.
Current Behavior
The file field renders as a normal text field.
Expected Behavior
The file field should present file selector button.
Possible Workaround/Solution
I don't see any.
Steps to Reproduce
file
.Environment