Skip to content

Commit

Permalink
Merge pull request RicoSuter#1434 from pranavkm/prkrishn/license-header
Browse files Browse the repository at this point in the history
Fixup license headers
  • Loading branch information
RicoSuter committed Jul 4, 2018
2 parents d56709d + 0618a99 commit 9ae02d6
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
//-----------------------------------------------------------------------
// <copyright file="AspNetCoreToSwaggerGeneratorCommandEntryPoint.cs" company="NSwag">
// Copyright (c) Rico Suter. All rights reserved.
// </copyright>
// <license>https://github.com/NSwag/NSwag/blob/master/LICENSE.md</license>
// <author>Rico Suter, [email protected]</author>
//-----------------------------------------------------------------------

using System;
using System.IO;
Expand Down Expand Up @@ -77,4 +82,4 @@ private static IServiceProvider GetServiceProvider(string applicationName)
$"for suggestions on ways to refactor your startup type.");
}
}
}
}
11 changes: 8 additions & 3 deletions src/NSwag.Commands/Commands/SwaggerGeneration/AspNetCore/Exe.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
//-----------------------------------------------------------------------
// <copyright file="Exe.cs" company="NSwag">
// Copyright (c) Rico Suter. All rights reserved.
// </copyright>
// <license>https://github.com/NSwag/NSwag/blob/master/LICENSE.md</license>
// <author>Rico Suter, [email protected]</author>
//-----------------------------------------------------------------------

using System;
using System.Collections.Generic;
Expand Down Expand Up @@ -137,4 +142,4 @@ private static string ToArguments(IReadOnlyList<string> args)
return builder.ToString();
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
//-----------------------------------------------------------------------
// <copyright file="ProjectMetadata.cs" company="NSwag">
// Copyright (c) Rico Suter. All rights reserved.
// </copyright>
// <license>https://github.com/NSwag/NSwag/blob/master/LICENSE.md</license>
// <author>Rico Suter, [email protected]</author>
//-----------------------------------------------------------------------

using System;
using System.Collections.Generic;
Expand Down Expand Up @@ -178,4 +183,4 @@ public static async Task<ProjectMetadata> GetProjectMetadata(
return projectMetadata;
}
}
}
}

0 comments on commit 9ae02d6

Please sign in to comment.