forgejo/templates/swagger
ThomasBoom89 5feca875ea fix(api): use not found status code when appropriate (#6885)
- Use a 404 error when the issue not found instead of returning an internal server error.
- Resolves #4005
- Added integration test.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/6885
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: ThomasBoom89 <thomasboom89@noreply.codeberg.org>
Co-committed-by: ThomasBoom89 <thomasboom89@noreply.codeberg.org>
2025-02-12 20:18:33 +00:00
..
forgejo-ui.tmpl s/return_to_gitea/return_to_forgejo (#3822) 2024-05-20 18:44:33 +00:00
ui.tmpl s/return_to_gitea/return_to_forgejo (#3822) 2024-05-20 18:44:33 +00:00
v1_json.tmpl fix(api): use not found status code when appropriate (#6885) 2025-02-12 20:18:33 +00:00