Node Version
22.20.0
NPM/Yarn/PNPM Version
10.9.3
Strapi Version
develop branch
Operating System
Linux (Debian/Ubuntu)
Database
SQLite
Javascript or Typescript
Typescript
Reproduction URL
No response
Bug Description
strapi openapi generate does not extract the right upload url's:
{
"openapi": "3.1.0",
"x-powered-by": "strapi",
"x-strapi-version": "5.37.1",
"info": {
"title": "kitchensink-ts",
"description": "API documentation for kitchensink-ts v0.0.0",
"version": "0.0.0"
},
"paths": {
[...]
"/": { <=============== This is wrong.
[...]
},
The path is missing the /upload part..
This happens to all upload urls.
Steps to Reproduce
- open the kitchensing example
- generate openapi specs
- wonder
Expected Behavior
The paths are generated correctly.
Logs
Code Snippets
No response
Media
No response
Additional information
No response
Confirmation Checklist
Node Version
22.20.0
NPM/Yarn/PNPM Version
10.9.3
Strapi Version
develop branch
Operating System
Linux (Debian/Ubuntu)
Database
SQLite
Javascript or Typescript
Typescript
Reproduction URL
No response
Bug Description
strapi openapi generatedoes not extract the right upload url's:{ "openapi": "3.1.0", "x-powered-by": "strapi", "x-strapi-version": "5.37.1", "info": { "title": "kitchensink-ts", "description": "API documentation for kitchensink-ts v0.0.0", "version": "0.0.0" }, "paths": { [...] "/": { <=============== This is wrong. [...] },The path is missing the
/uploadpart..This happens to all upload urls.
Steps to Reproduce
Expected Behavior
The paths are generated correctly.
Logs
Code Snippets
No response
Media
No response
Additional information
No response
Confirmation Checklist