docusaurus-openapi-docs
docusaurus-openapi-docs copied to clipboard
API plugin isn't working with the file upload
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:
We have the same Python issue in our documentation site with this plugin: https://docs.vectara.com/docs/rest-api/file-upload
any solution about this bug?
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.