From 0fc3eda77004f41c5f0a804028da2d90b0373ea7 Mon Sep 17 00:00:00 2001 From: Mitchell Riedstra Date: Tue, 24 Aug 2021 22:25:40 -0400 Subject: Another development snapshot. Updated license. Added Swagger documentation--embedded! Note about 'swaggo' --- steam/steam.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'steam/steam.go') diff --git a/steam/steam.go b/steam/steam.go index ae69020..03fa51e 100644 --- a/steam/steam.go +++ b/steam/steam.go @@ -34,9 +34,9 @@ type Library struct { // Game represents an actual game in the steam Library. The purpose is only // to provide info on a game. type Game struct { - Name string - LibraryPath string - Size int64 + Name string `json:"Name" example:"Doom"` + LibraryPath string `json:"LibraryPath" example:"C:\\Program Files (x86)\\Steam\\steamapps"` + Size int64 `json:"Size" example:"12345"` } var slugregexp = regexp.MustCompile(`[^-0-9A-Za-z_:.]`) -- cgit v1.2.3