-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create pipeline to publish Swagger Api Parser package (#4203)
* Create pipeline to publish Swagger Api Parser package
- Loading branch information
1 parent
395061c
commit d7625df
Showing
30 changed files
with
90 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 22 additions & 14 deletions
36
tools/apiview/parsers/swagger-api-parser/SwaggerApiParser/SwaggerApiParser.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,43 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<PackageVersion>1.0.0-dev.0.1</PackageVersion> | ||
<PackageVersion>1.0.0-dev.0.2</PackageVersion> | ||
<OutputType>Exe</OutputType> | ||
<PackAsTool>true</PackAsTool> | ||
<ToolCommandName>swaggerAPIParser</ToolCommandName> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<RootNamespace>swagger_api_parser</RootNamespace> | ||
<PackageOutputPath>./nupkg</PackageOutputPath> | ||
<LangVersion>10</LangVersion> | ||
<LangVersion>Latest</LangVersion> | ||
<VersionPrefix>1.0.0</VersionPrefix> | ||
<AssemblyName>Azure.Sdk.Tools.SwaggerApiParser</AssemblyName> | ||
<SignAssembly>True</SignAssembly> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> | ||
<NoWarn>$(NoWarn);NU5105;NU5119</NoWarn> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'"> | ||
<NoWarn>$(NoWarn);NU5105;NU5119</NoWarn> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\..\..\..\..\src\dotnet\APIView\APIViewWeb\APIViewWeb.csproj" /> | ||
<ProjectReference Include="..\..\..\..\..\src\dotnet\APIView\APIView\APIView.csproj" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<Compile Remove="SwaggerApiParserTest\**" /> | ||
<EmbeddedResource Remove="SwaggerApiParserTest\**" /> | ||
<None Remove="SwaggerApiParserTest\**" /> | ||
</ItemGroup> | ||
|
||
|
||
<ItemGroup> | ||
<PackageReference Include="NuGet.CommandLine" Version="6.0.2"> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
<PrivateAssets>all</PrivateAssets> | ||
</PackageReference> | ||
<PackageReference Include="System.CommandLine" Version="2.0.0-beta2.21617.1" /> | ||
<PackageReference Include="xunit" Version="2.4.1" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<None Remove=".gitignore" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<Folder Include="SwaggerApiParserTest\fixtures\common-types\resource-management" /> | ||
</ItemGroup> | ||
|
||
</Project> |
1 change: 0 additions & 1 deletion
1
.../apiview/parsers/swagger-api-parser/SwaggerApiParser/SwaggerApiView/SwaggerApiViewSpec.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
using System.Collections.Generic; | ||
using ApiView; | ||
using APIView; | ||
using Octokit; | ||
|
||
namespace SwaggerApiParser; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
tools/apiview/parsers/swagger-api-parser/SwaggerApiParser/SwaggerSpec/Security.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file. | ||
trigger: | ||
branches: | ||
include: | ||
- main | ||
- feature/* | ||
- release/* | ||
- hotfix/* | ||
paths: | ||
include: | ||
- tools/apiview/parsers/swagger-api-parser/SwaggerApiParser | ||
|
||
pr: | ||
branches: | ||
include: | ||
- main | ||
- feature/* | ||
- release/* | ||
- hotfix/* | ||
paths: | ||
include: | ||
- tools/apiview/parsers/swagger-api-parser/SwaggerApiParser | ||
|
||
extends: | ||
template: /eng/pipelines/templates/stages/archetype-sdk-tool-dotnet.yml | ||
parameters: | ||
ToolDirectory: tools/apiview/parsers/swagger-api-parser/SwaggerApiParser | ||
SkipDotNetInstall: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters