1
0
Fork 0

feat(api): add x-go-type and x-go-type-import to openapi spec

This commit is contained in:
Vojtěch Mareš 2024-05-04 11:46:45 +02:00
parent 627be4d2f4
commit 1413fde9f0
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D

View file

@ -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