chore(license): clarify the API swagger file is and stays MIT

It is not an original work and enforcing copyright on that file would
probably be difficult. To clarify that the intent of the Forgejo
authors is that it is used for interoperability with no restriction,
explicitly release it under MIT and display the intent in the swagger
web page.

There is a contradiction in claiming it is under MIT while claiming
copyright is unlikely to be enforceable, but it efficiently conveys
the intention.
This commit is contained in:
Earl Warren 2024-08-23 17:40:33 +02:00
parent fde934787a
commit 5e923cfbdd
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -16,7 +16,7 @@
"description": "This documentation describes the Forgejo API.",
"title": "Forgejo API",
"license": {
"name": "MIT",
"name": "This file is distributed under the MIT license for the purpose of interoperability",
"url": "http://opensource.org/licenses/MIT"
},
"version": "{{AppVer | JSEscape}}"