Rewrite to a API trait.
This commit is contained in:
@@ -337,6 +337,8 @@ components:
|
||||
type: string
|
||||
name:
|
||||
type: string
|
||||
location_id:
|
||||
type: string
|
||||
datetime:
|
||||
type: string
|
||||
owner_id:
|
||||
@@ -408,6 +410,16 @@ components:
|
||||
type: string
|
||||
required:
|
||||
- user_id
|
||||
OwnedGame:
|
||||
title: OwnedGame
|
||||
type: object
|
||||
properties:
|
||||
game_id:
|
||||
type: string
|
||||
location_id:
|
||||
type: string
|
||||
required:
|
||||
- game_id
|
||||
LocationId:
|
||||
title: LocationId
|
||||
type: object
|
||||
@@ -499,7 +511,7 @@ components:
|
||||
GameIdsResponse:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
$ref: "#/components/schemas/OwnedGame"
|
||||
UserIdsResponse:
|
||||
type: array
|
||||
items:
|
||||
|
||||
Reference in New Issue
Block a user