From 1413fde9f0f9746e2425126149ffb5f0d35110cb Mon Sep 17 00:00:00 2001 From: Vojtech Mares Date: Sat, 4 May 2024 11:46:45 +0200 Subject: [PATCH] feat(api): add x-go-type and x-go-type-import to openapi spec --- api/v1/openapi.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/api/v1/openapi.yaml b/api/v1/openapi.yaml index 2408213..f9d442f 100644 --- a/api/v1/openapi.yaml +++ b/api/v1/openapi.yaml @@ -121,6 +121,9 @@ components: schema: type: string format: uuid + x-go-type: training.TrainingID + x-go-type-import: + path: gitlab.mareshq.com/hq/yggdrasil/pkg/training description: Training ID schemas: @@ -164,6 +167,9 @@ components: id: type: string format: uuid + x-go-type: training.TrainingID + x-go-type-import: + path: gitlab.mareshq.com/hq/yggdrasil/pkg/training - required: - id