mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-23 14:53:34 +01:00
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:
parent
fde934787a
commit
5e923cfbdd
1 changed files with 1 additions and 1 deletions
2
templates/swagger/v1_json.tmpl
generated
2
templates/swagger/v1_json.tmpl
generated
|
@ -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}}"
|
||||
|
|
Loading…
Reference in a new issue