Files
backend/docs/swagger.json

55 lines
1.4 KiB
JSON

{
"swagger": "2.0",
"info": {
"title": "Golang 2025 Final Project",
"termsOfService": "http://swagger.io/terms",
"contact": {},
"license": {
"name": "0BSD"
},
"version": "0.0.1"
},
"basePath": "/",
"paths": {
"/api/images": {
"get": {
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/api.getImagesOutputImage"
}
},
"400": {
"description": "Bad Request"
},
"401": {
"description": "Unauthorized"
}
}
}
}
},
"definitions": {
"api.getImagesOutputImage": {
"type": "object",
"properties": {
"aliases": {
"type": "array",
"items": {
"type": "string"
}
},
"id": {
"type": "integer"
},
"uploaded_at": {
"type": "integer"
},
"uploaded_user_id": {
"type": "string"
}
}
}
}
}