docusaurus-openapi-docs icon indicating copy to clipboard operation
docusaurus-openapi-docs copied to clipboard

API plugin isn't working with the file upload

Open AnaSofia-1294 opened this issue 1 year ago • 3 comments

Describe the bug

So Im adding the documentation of the api with paloalto plugin. And in this documentation, we added options and one of this is to add a file uploaded. When I see the code with the curl widget is ok and working fine. But when I use the python formatted code, I don't see the file uploaded.

Expected behavior

To see the file uploaded in the right argument of the python code.

Current behavior

So when you have the plugin api installed in the documentation you can see the the parameters being filled according to the options.

Steps to reproduce

Screenshots

Context

Your Environment

  • Version used:
  • Environment name and version (e.g. Chrome 59, node.js 5.4, python 3.7.3):
  • Operating System and version (desktop or mobile):
  • Link to your project:

AnaSofia-1294 avatar Jan 17 '24 13:01 AnaSofia-1294

We have the same Python issue in our documentation site with this plugin: https://docs.vectara.com/docs/rest-api/file-upload

pwoznic avatar Feb 21 '24 23:02 pwoznic

any solution about this bug?

AnaSofia-1294 avatar Feb 22 '24 10:02 AnaSofia-1294

Seems to affect other languages, not just python. We use postman-code-generators so, it's either a limitation with the library or a possible issue with the implementation in our plugin.

sserrata avatar Jun 28 '24 19:06 sserrata