From ad3aede046c348271f364986374fd9b1f5a8ee98 Mon Sep 17 00:00:00 2001 From: Sourav Bhowmik Date: Wed, 30 Oct 2024 10:47:49 +0100 Subject: [PATCH] fix: resolve merge conflict --- cmd/laas/docs/docs.go | 136 ------------------------------------------ 1 file changed, 136 deletions(-) diff --git a/cmd/laas/docs/docs.go b/cmd/laas/docs/docs.go index f87fda4..c3d2aee 100644 --- a/cmd/laas/docs/docs.go +++ b/cmd/laas/docs/docs.go @@ -2335,139 +2335,6 @@ const docTemplate = `{ } } }, -<<<<<<< HEAD -======= - "models.ObligationPATCHRequestJSONSchema": { - "type": "object", - "required": [ - "category" - ], - "properties": { - "active": { - "type": "boolean", - "example": true - }, - "category": { - "type": "string", - "enum": [ - "Distribution", - "Patent", - "Internal", - "Contractual", - "Export Control", - "General" - ], - "example": "Distribution" - }, - "classification": { - "type": "string", - "enum": [ - "green", - "white", - "yellow", - "red" - ] - }, - "comment": { - "type": "string", - "example": "This is a comment." - }, - "modifications": { - "type": "boolean" - }, - "text": { - "type": "string", - "example": "Source code be made available when distributing the software." - }, - "text_updatable": { - "type": "boolean" - }, - "type": { - "type": "string", - "enum": [ - "obligation", - "restriction", - "risk", - "right" - ] - } - } - }, - "models.ObligationPOSTRequestJSONSchema": { - "type": "object", - "required": [ - "active", - "category", - "classification", - "comment", - "modifications", - "shortnames", - "text", - "topic", - "type" - ], - "properties": { - "active": { - "type": "boolean", - "example": true - }, - "category": { - "type": "string", - "enum": [ - "Distribution", - "Patent", - "Internal", - "Contractual", - "Export Control", - "General" - ], - "example": "Distribution" - }, - "classification": { - "type": "string", - "enum": [ - "green", - "white", - "yellow", - "red" - ] - }, - "comment": { - "type": "string" - }, - "modifications": { - "type": "boolean" - }, - "shortnames": { - "type": "array", - "items": { - "type": "string" - }, - "example": [ - "GPL-2.0-only", - "GPL-2.0-or-later" - ] - }, - "text": { - "type": "string", - "example": "Source code be made available when distributing the software." - }, - "topic": { - "type": "string", - "example": "copyleft" - }, - "type": { - "type": "string", - "enum": [ - "obligation", - "restriction", - "risk", - "right" - ] - } - } - }, ->>>>>>> 65d5aaf (fix: obligation POST, PATCH fixed for category) "models.ObligationPreview": { "type": "object", "properties": { @@ -2512,7 +2379,6 @@ const docTemplate = `{ } } }, -<<<<<<< HEAD "models.ObligationUpdateDTO": { "type": "object", "properties": { @@ -2544,8 +2410,6 @@ const docTemplate = `{ } } }, -======= ->>>>>>> 65d5aaf (fix: obligation POST, PATCH fixed for category) "models.PaginationMeta": { "type": "object", "properties": {