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:
|
||||
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
|
||||
|
||||
|
|
|
|||
Reference in a new issue