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
When we have an API that requires a list of documents in input, it's impossible to upload them.
Expected behavior
The upload of multiple files can be done via Docusaurus GUI.
Current behavior
From Docusaurus is impossible to upload multiple files and to invoke these types of API endpoints.
Steps to reproduce
Pre-requirements: having an endpoint API that can be used to upload an array of files.
For example, having this type of OpenApi properties:
properties:
files:
type: array
description: List of documents to upload async
items:
type: string
format: binary
Screenshots
Example of docusaurus' view of a single file as input (it works!):
Example of docusaurus' view of an array of files as input (it doesn't works):
Example of Swagger editor of OpenAPI with the same OpenAPI defined above (it works):
here is possible to upload multiple files as array.
Your Environment
Version used: v3.0.0-beta.4 (Docusaurus version 3.1.0)
Describe the bug
When we have an API that requires a list of documents in input, it's impossible to upload them.
Expected behavior
The upload of multiple files can be done via Docusaurus GUI.
Current behavior
From Docusaurus is impossible to upload multiple files and to invoke these types of API endpoints.
Steps to reproduce
Pre-requirements: having an endpoint API that can be used to upload an array of files.
For example, having this type of OpenApi properties:
properties:
files:
type: array
description: List of documents to upload async
items:
type: string
format: binary
Screenshots
Example of docusaurus' view of a single file as input (it works!):
Example of docusaurus' view of an array of files as input (it doesn't works):
Example of Swagger editor of OpenAPI with the same OpenAPI defined above (it works):
here is possible to upload multiple files as array.
Your Environment
The text was updated successfully, but these errors were encountered: