Fix swagger doc and rename references for time db fields

This commit is contained in:
Jamie Curnow
2023-05-29 08:50:27 +10:00
parent a2f192280b
commit 1ae247b2a6
45 changed files with 236 additions and 316 deletions

View File

@ -1,9 +1,7 @@
{
"operationId": "getCertificates",
"summary": "Get a list of certificates",
"tags": [
"Certificates"
],
"tags": ["Certificates"],
"parameters": [
{
"in": "query",
@ -39,9 +37,7 @@
"content": {
"application/json": {
"schema": {
"required": [
"result"
],
"required": ["result"],
"properties": {
"result": {
"$ref": "#/components/schemas/CertificateList"
@ -64,8 +60,8 @@
"items": [
{
"id": 1,
"created_on": 1604536109,
"modified_on": 1604536109,
"created_at": 1604536109000,
"updated_at": 1604536109000,
"expires_on": null,
"type": "dns",
"user_id": 1,
@ -87,4 +83,4 @@
}
}
}
}
}