Skip to content

Commit

Permalink
v0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
oxks committed Jan 15, 2023
1 parent 9ca37b5 commit 026b789
Show file tree
Hide file tree
Showing 14 changed files with 107 additions and 1,245 deletions.
166 changes: 4 additions & 162 deletions api/apidocs.swagger.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"swagger": "2.0",
"info": {
"title": "immut-apt",
"description": "Boilerplate code generated by **sqlc-grpc**. Modify _proto/*.proto_ files then run `buf generate` to change the services interface.",
"title": "immut-api",
"description": "IMMUT Swagger interface.",
"version": "1.0",
"contact": {
"name": "sqlc-grpc",
"url": "https://github.com/walterwanderley/sqlc-grpc"
"name": "IMMUT",
"url": "https://immut.ovh"
}
},
"tags": [
Expand Down Expand Up @@ -55,73 +55,6 @@
"PostgresService"
]
}
},
"/datum-add": {
"post": {
"operationId": "PostgresService_DatumAdd",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/v1DatumAddResponse"
}
},
"default": {
"description": "An unexpected error response.",
"schema": {
"$ref": "#/definitions/rpcStatus"
}
}
},
"parameters": [
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/v1DatumAddRequest"
}
}
],
"tags": [
"PostgresService"
]
}
},
"/datums": {
"post": {
"operationId": "PostgresService_GetDatums",
"responses": {
"200": {
"description": "",
"schema": {
"type": "array",
"items": {
"$ref": "#/definitions/v1GetDatumsRow"
}
}
},
"default": {
"description": "An unexpected error response.",
"schema": {
"$ref": "#/definitions/rpcStatus"
}
}
},
"parameters": [
{
"name": "body",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/v1GetDatumsRequest"
}
}
],
"tags": [
"PostgresService"
]
}
}
},
"definitions": {
Expand Down Expand Up @@ -189,97 +122,6 @@
"type": "string"
}
}
},
"v1DatumAddRequest": {
"type": "object",
"properties": {
"authorId": {
"type": "string",
"format": "int64"
},
"datum": {
"type": "string"
},
"hash": {
"type": "string"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"previousHash": {
"type": "string"
}
}
},
"v1DatumAddResponse": {
"type": "object"
},
"v1GetDatumsRequest": {
"type": "object"
},
"v1GetDatumsResponse": {
"type": "object",
"properties": {
"list": {
"type": "array",
"items": {
"$ref": "#/definitions/v1GetDatumsRow"
}
}
}
},
"v1GetDatumsRow": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "int64"
},
"authorId": {
"type": "string",
"format": "int64"
},
"datum": {
"type": "string"
},
"previousHash": {
"type": "string"
},
"hash": {
"type": "string"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"id2": {
"type": "string",
"format": "int64"
},
"firstname": {
"type": "string"
},
"lastname": {
"type": "string"
},
"email": {
"type": "string"
},
"password": {
"type": "string"
},
"deleted": {
"type": "boolean"
},
"nickname": {
"type": "string"
},
"createdAt2": {
"type": "string",
"format": "date-time"
}
}
}
}
}
Loading

0 comments on commit 026b789

Please sign in to comment.