feat(api): add x-go-type and x-go-type-import to openapi spec
This commit is contained in:
parent
627be4d2f4
commit
1413fde9f0
1 changed files with 6 additions and 0 deletions
|
|
@ -121,6 +121,9 @@ components:
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
format: uuid
|
format: uuid
|
||||||
|
x-go-type: training.TrainingID
|
||||||
|
x-go-type-import:
|
||||||
|
path: gitlab.mareshq.com/hq/yggdrasil/pkg/training
|
||||||
description: Training ID
|
description: Training ID
|
||||||
|
|
||||||
schemas:
|
schemas:
|
||||||
|
|
@ -164,6 +167,9 @@ components:
|
||||||
id:
|
id:
|
||||||
type: string
|
type: string
|
||||||
format: uuid
|
format: uuid
|
||||||
|
x-go-type: training.TrainingID
|
||||||
|
x-go-type-import:
|
||||||
|
path: gitlab.mareshq.com/hq/yggdrasil/pkg/training
|
||||||
- required:
|
- required:
|
||||||
- id
|
- id
|
||||||
|
|
||||||
|
|
|
||||||
Reference in a new issue