Skip to content

Commit

Permalink
Minor fixes to Swagger.
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianStehle committed Dec 13, 2018
1 parent 8609d2f commit 138a68b
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 13 deletions.
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@ node_modules/
# Scripts (should be copied from node_modules on build)
**/wwwroot/scripts/**/*.*

/src/Squidex/Assets
/src/Squidex/appsettings.Development.json
/src/Squidex/appsettings.Production.json
/src/Squidex/Assets
/src/Squidex/package-lock.json
/src/Squidex/Properties/launchSettings.json

/global.json

launchSettings.json
2 changes: 1 addition & 1 deletion src/Squidex/Areas/Api/Controllers/Apps/AppsController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public async Task<IActionResult> PostApp([FromBody] CreateAppDto request)

/// <summary>
/// Archive the app.
/// /// </summary>
/// </summary>
/// <param name="app">The name of the app to archive.</param>
/// <returns>
/// 204 => App archived.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@

namespace Squidex.Areas.Api.Controllers.Backups
{
/// <summary>
/// Restores backups.
/// </summary>
[ApiExplorerSettings(GroupName = nameof(Backups))]
[ApiModelValidation(true)]
public class RestoreController : ApiController
{
private readonly IGrainFactory grainFactory;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@

namespace Squidex.Areas.Api.Controllers.Contents
{
[ApiExplorerSettings(GroupName = nameof(Contents))]
public sealed class ContentsController : ApiController
{
private readonly IOptions<MyContentsControllerOptions> controllerOptions;
Expand Down
4 changes: 0 additions & 4 deletions src/Squidex/Areas/Api/Controllers/UI/UIController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@

namespace Squidex.Areas.Api.Controllers.UI
{
/// <summary>
/// Manages ui settings and configs.
/// </summary>
[ApiExplorerSettings(GroupName = nameof(UI))]
public sealed class UIController : ApiController
{
private readonly MyUIOptions uiOptions;
Expand Down

0 comments on commit 138a68b

Please sign in to comment.