Swagger is what Gitea uses for its API.All Gitea instances have the built-in API, though it can be disabled by setting ENABLE_SWAGGER to false in the api section of your app.ini
ENABLE_SWAGGER
false
api
app.ini