@@ -269,7 +269,7 @@ public object Transfer(Guid guildId, LookupKey lookupKey)
269269 }
270270
271271 [ HttpGet ( "{guildId:guid}/bank" ) ]
272- [ ProducesResponseType ( typeof ( NotFoundObjectResult ) , ( int ) HttpStatusCode . NotFound , "application/json" ) ]
272+ [ ProducesResponseType ( typeof ( string ) , ( int ) HttpStatusCode . NotFound , "application/json" ) ]
273273 [ ProducesResponseType ( typeof ( IEnumerable < GuildBankSlot > ) , ( int ) HttpStatusCode . OK , "application/json" ) ]
274274 public IActionResult ItemsListBank ( Guid guildId )
275275 {
@@ -283,7 +283,7 @@ public IActionResult ItemsListBank(Guid guildId)
283283 }
284284
285285 [ HttpGet ( "{guildId:guid}/variables" ) ]
286- [ ProducesResponseType ( typeof ( NotFoundObjectResult ) , ( int ) HttpStatusCode . NotFound , "application/json" ) ]
286+ [ ProducesResponseType ( typeof ( string ) , ( int ) HttpStatusCode . NotFound , "application/json" ) ]
287287 [ ProducesResponseType ( typeof ( IEnumerable < GuildVariable > ) , ( int ) HttpStatusCode . OK , "application/json" ) ]
288288 public IActionResult GuildVariablesList ( Guid guildId )
289289 {
@@ -296,8 +296,8 @@ public IActionResult GuildVariablesList(Guid guildId)
296296 }
297297
298298 [ HttpGet ( "{guildId:guid}/variables/{variableId:guid}" ) ]
299- [ ProducesResponseType ( typeof ( BadRequestObjectResult ) , ( int ) HttpStatusCode . BadRequest , "application/json" ) ]
300- [ ProducesResponseType ( typeof ( NotFoundObjectResult ) , ( int ) HttpStatusCode . NotFound , "application/json" ) ]
299+ [ ProducesResponseType ( typeof ( string ) , ( int ) HttpStatusCode . BadRequest , "application/json" ) ]
300+ [ ProducesResponseType ( typeof ( string ) , ( int ) HttpStatusCode . NotFound , "application/json" ) ]
301301 [ ProducesResponseType ( typeof ( GuildVariable ) , ( int ) HttpStatusCode . OK , "application/json" ) ]
302302 public IActionResult GuildVariableGet ( Guid guildId , Guid variableId )
303303 {
@@ -321,8 +321,8 @@ public IActionResult GuildVariableGet(Guid guildId, Guid variableId)
321321 }
322322
323323 [ HttpGet ( "{guildId:guid}/variables/{variableId:guid}/value" ) ]
324- [ ProducesResponseType ( typeof ( BadRequestObjectResult ) , ( int ) HttpStatusCode . BadRequest , "application/json" ) ]
325- [ ProducesResponseType ( typeof ( NotFoundObjectResult ) , ( int ) HttpStatusCode . NotFound , "application/json" ) ]
324+ [ ProducesResponseType ( typeof ( string ) , ( int ) HttpStatusCode . BadRequest , "application/json" ) ]
325+ [ ProducesResponseType ( typeof ( string ) , ( int ) HttpStatusCode . NotFound , "application/json" ) ]
326326 [ ProducesResponseType ( typeof ( VariableValueBody ) , ( int ) HttpStatusCode . OK , "application/json" ) ]
327327 public IActionResult GuildVariableGetValue ( Guid guildId , Guid variableId )
328328 {
@@ -349,8 +349,8 @@ public IActionResult GuildVariableGetValue(Guid guildId, Guid variableId)
349349 }
350350
351351 [ HttpPost ( "{guildId:guid}/variables/{variableId:guid}" ) ]
352- [ ProducesResponseType ( typeof ( BadRequestObjectResult ) , ( int ) HttpStatusCode . BadRequest , "application/json" ) ]
353- [ ProducesResponseType ( typeof ( NotFoundObjectResult ) , ( int ) HttpStatusCode . NotFound , "application/json" ) ]
352+ [ ProducesResponseType ( typeof ( string ) , ( int ) HttpStatusCode . BadRequest , "application/json" ) ]
353+ [ ProducesResponseType ( typeof ( string ) , ( int ) HttpStatusCode . NotFound , "application/json" ) ]
354354 [ ProducesResponseType ( typeof ( GuildVariable ) , ( int ) HttpStatusCode . OK , "application/json" ) ]
355355 public IActionResult GuildVariableSet ( Guid guildId , Guid variableId , [ FromBody ] VariableValueBody valueBody )
356356 {
0 commit comments