Browse Source

More error handling improvements.

pull/593/head
Sebastian 5 years ago
parent
commit
44cc549ba9
  1. 8
      backend/src/Squidex/Areas/Api/Controllers/Schemas/SchemaFieldsController.cs
  2. 6
      backend/src/Squidex/Areas/Api/Controllers/Schemas/SchemasController.cs

8
backend/src/Squidex/Areas/Api/Controllers/Schemas/SchemaFieldsController.cs

@ -35,7 +35,7 @@ namespace Squidex.Areas.Api.Controllers.Schemas
/// <param name="request">The field object that needs to be added to the schema.</param>
/// <returns>
/// 201 => Schema field created.
/// 400 => Schema field request not valid.
/// 400 => Schema request not valid.
/// 404 => Schema or app not found.
/// 409 => Schema field name already in use.
/// </returns>
@ -62,7 +62,7 @@ namespace Squidex.Areas.Api.Controllers.Schemas
/// <param name="request">The field object that needs to be added to the schema.</param>
/// <returns>
/// 201 => Schema field created.
/// 400 => Schema field request not valid.
/// 400 => Schema request not valid.
/// 409 => Schema field name already in use.
/// 404 => Schema, field or app not found.
/// </returns>
@ -88,7 +88,7 @@ namespace Squidex.Areas.Api.Controllers.Schemas
/// <param name="request">The request that contains the field names.</param>
/// <returns>
/// 200 => Schema UI fields defined.
/// 400 => Schema field request not valid.
/// 400 => Schema request not valid.
/// 404 => Schema or app not found.
/// </returns>
[HttpPut]
@ -113,7 +113,7 @@ namespace Squidex.Areas.Api.Controllers.Schemas
/// <param name="request">The request that contains the field ids.</param>
/// <returns>
/// 200 => Schema fields reordered.
/// 400 => Schema field request not valid.
/// 400 => Schema request not valid.
/// 404 => Schema or app not found.
/// </returns>
[HttpPut]

6
backend/src/Squidex/Areas/Api/Controllers/Schemas/SchemasController.cs

@ -262,7 +262,7 @@ namespace Squidex.Areas.Api.Controllers.Schemas
/// <param name="request">The schema rules object that needs to updated.</param>
/// <returns>
/// 200 => Schema updated.
/// 400 => Schema rules are not valid.
/// 400 => Schema request not valid.
/// 404 => Schema or app not found.
/// </returns>
[HttpPut]
@ -285,7 +285,7 @@ namespace Squidex.Areas.Api.Controllers.Schemas
/// <param name="app">The name of the app.</param>
/// <param name="name">The name of the schema to publish.</param>
/// <returns>
/// 200 => Schema has been published.
/// 200 => Schema published.
/// 404 => Schema or app not found.
/// </returns>
[HttpPut]
@ -308,7 +308,7 @@ namespace Squidex.Areas.Api.Controllers.Schemas
/// <param name="app">The name of the app.</param>
/// <param name="name">The name of the schema to unpublish.</param>
/// <returns>
/// 200 => Schema has been unpublished.
/// 200 => Schema unpublished.
/// 404 => Schema or app not found.
/// </returns>
[HttpPut]

Loading…
Cancel
Save