forgejo/.forgejo
Sven Steinbauer f05b960494 Fix invalid swagger syntax of $ref with sibling (#7019)
Ticket #5676 states that the output from `make generate-swagger` is not valid according to the current [OpenAPI specification](https://swagger.io/specification/#path-item-object). In future this [may change](https://swagger.io/specification/#reference-object) but currently this has the effect that the `description` field will be ignored. Removing the description from the type definition of the offending entry will fix the invalid output and have the same end result as before, as the description would have been ignored anyway.

## Checklist
### Tests

No changes to Go (except removal of comment) or Javascript code. Have added the `lint-swagger` task to the CI test run however.

### Documentation

- [ ] I created a pull request [to the documentation](https://codeberg.org/forgejo/docs) to explain to Forgejo users how to use this change.
- [x] I did not document these changes and I do not expect someone else to do it.

### Release notes

- [x] I do not want this change to show in the release notes.
- [ ] I want the title to show in the release notes with a link to this pull request.
- [ ] I want the content of the `release-notes/<pull request number>.md` to be be used for the release notes instead of the title.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7019
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Co-authored-by: Sven Steinbauer <sven@unlogic.co.uk>
Co-committed-by: Sven Steinbauer <sven@unlogic.co.uk>
2025-02-21 14:09:21 +00:00
..
issue_template Update security option in issue template 2024-10-14 18:55:32 +00:00
testdata/build-release Update data.forgejo.org/oci/alpine Docker tag to v3.21 (forgejo) (#6502) 2025-01-08 07:30:51 +00:00
workflows Fix invalid swagger syntax of $ref with sibling (#7019) 2025-02-21 14:09:21 +00:00
workflows-composite chore: consistent docker image and action references (#6703) 2025-01-28 15:41:11 +00:00
cascading-pr-end-to-end chore(ci): optimize end-to-end runs 2024-08-08 17:53:12 +02:00
cascading-release-end-to-end chore(ci): optimize end-to-end runs 2024-08-08 17:53:12 +02:00
pull_request_template.md Replace Developer Guide links with the new Contributor Guide one for PR template and release workflows comments. 2024-08-26 14:29:10 +03:00