feat(docs): Fresh openapi

This commit is contained in:
Nicolai Ort 2024-12-03 19:25:47 +01:00
parent f880e9f10c
commit e10448f1e3
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F
3 changed files with 3 additions and 3 deletions

View File

@ -91,7 +91,7 @@ const docTemplate = `{
"models.CardRequest": { "models.CardRequest": {
"type": "object", "type": "object",
"properties": { "properties": {
"card": { "cards": {
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/definitions/models.Card" "$ref": "#/definitions/models.Card"

View File

@ -82,7 +82,7 @@
"models.CardRequest": { "models.CardRequest": {
"type": "object", "type": "object",
"properties": { "properties": {
"card": { "cards": {
"type": "array", "type": "array",
"items": { "items": {
"$ref": "#/definitions/models.Card" "$ref": "#/definitions/models.Card"

View File

@ -12,7 +12,7 @@ definitions:
type: object type: object
models.CardRequest: models.CardRequest:
properties: properties:
card: cards:
items: items:
$ref: '#/definitions/models.Card' $ref: '#/definitions/models.Card'
type: array type: array