contents-ext API does not support passing root directory? #14693

Closed
opened 2025-11-02 11:20:18 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @rickyma on GitHub (Jul 2, 2025).

Description

As title:
Image
Image

Gitea Version

latest

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

./gitea web

Database

None

Originally created by @rickyma on GitHub (Jul 2, 2025). ### Description As title: ![Image](https://github.com/user-attachments/assets/7d994860-acae-426d-becb-d099ed3576c6) ![Image](https://github.com/user-attachments/assets/b4041081-cae0-46f6-a138-9ef09a5c2af7) ### Gitea Version latest ### Can you reproduce the bug on the Gitea demo site? Yes ### Log Gist _No response_ ### Screenshots _No response_ ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? ./gitea web ### Database None
GiteaMirror added the type/bug label 2025-11-02 11:20:18 -06:00
Author
Owner

@rickyma commented on GitHub (Jul 2, 2025):

PTAL @wxiaoguang

@rickyma commented on GitHub (Jul 2, 2025): PTAL @wxiaoguang
Author
Owner

@wxiaoguang commented on GitHub (Jul 2, 2025):

Leave it empty

@wxiaoguang commented on GitHub (Jul 2, 2025): Leave it empty
Author
Owner

@wxiaoguang commented on GitHub (Jul 2, 2025):

The generated swagger is not right, the "filepath" part is not required. ".../contents-ext" means "root"

@wxiaoguang commented on GitHub (Jul 2, 2025): The generated swagger is not right, the "filepath" part is not required. ".../contents-ext" means "root"
Author
Owner

@rickyma commented on GitHub (Jul 2, 2025):

PTAL @wxiaoguang https://github.com/go-gitea/gitea/pull/34930

@rickyma commented on GitHub (Jul 2, 2025): PTAL @wxiaoguang https://github.com/go-gitea/gitea/pull/34930
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#14693