Skip to content
This repository was archived by the owner on May 9, 2025. It is now read-only.

Commit 823419b

Browse files
committed
Merge remote-tracking branch 'origin/master' into fantavlik-inline-resolver
* origin/master: (432 commits) [maven] mark Mojo threadSafe=true + fix concurrency issue in Co… (OpenAPITools#5898) Ensure `model.allParents` always includes `model.parent`. (OpenAPITools#5738) return a null instead of application/json when no content types are set (OpenAPITools#5941) [scala-akka-http-server] Fix a generation problem on operations with empty responses (OpenAPITools#5868) [powershell-experimental] ValidatePattern with double-quote (") throws-exception (OpenAPITools#5956) Use model as body param for generateAliasAsModel (OpenAPITools#4569) Add YITU Technology to the user list (OpenAPITools#5967) [typescript-axios][client] Allow apiKey type Promise. (OpenAPITools#5953) [C][Client]Fix data lost when libcurl write-data callback function is called multiple times (OpenAPITools#5828) [python/asyncio] fix passing proxy parameters to aiohttp (OpenAPITools#5943) [Python-experimental] Fix TypeError: unhashable type: 'list' (OpenAPITools#5810) [Python-experimental] Use DER encoding for ECDSA signatures, add parameter to configure hash algorithm (OpenAPITools#5924) fix duplicated semi-colon in c# model (OpenAPITools#5934) fixed README/doc of bearer auth support for csharp-netcore (OpenAPITools#5931) Update axios dependency to the new minor version 0.19.0 (OpenAPITools#5867) update dependency for java client (OpenAPITools#5926) [Dart] Remove content type from header when content type is not specified (OpenAPITools#5752) Fix for Result Model Name collision (OpenAPITools#5923) [Python][aiohttp] create venv as rule (OpenAPITools#5913) add bearer auth support to csharp netcore (OpenAPITools#5921) ...
2 parents e17425c + 84099ee commit 823419b

File tree

5,430 files changed

+262645
-57277
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

5,430 files changed

+262645
-57277
lines changed

.github/workflows/sonar.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Sonar CI
2+
on:
3+
push:
4+
branches:
5+
- master
6+
- '[4-9]+.[0-9]+.x'
7+
8+
jobs:
9+
build:
10+
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v1
15+
- name: Set up JDK 1.8
16+
uses: actions/setup-java@v1
17+
with:
18+
java-version: 1.8
19+
- name: Compile with Maven
20+
run: mvn clean package jacoco:report
21+
- name: Jacoco Aggregate
22+
run: mvn jacoco:report-aggregate
23+
- name: Publish to Sonar
24+
run: mvn -B -q sonar:sonar -Dsonar.projectKey=OpenAPITools_openapi-generator -Dsonar.organization=openapitools -Dsonar.host.url=https://sonarcloud.io -Dsonar.login=${{ secrets.SONAR_LOGIN }} -Dsonar.branch.name=${GITHUB_REF##*/}

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.mvn/.gradle-enterprise/
2+
.scannerwork/
13
.vscode
24
*.iml
35
out/
@@ -28,6 +30,7 @@ packages/
2830
.vagrant/
2931
.vscode/
3032
**/.vs
33+
.factorypath
3134

3235
.settings
3336

.travis.yml

Lines changed: 38 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ before_cache:
1111
- rm -fr $HOME/.m2/repository/org/openapitools/
1212

1313
cache:
14+
yarn: true
1415
directories:
1516
- $HOME/.m2
1617
- $HOME/.ivy2
@@ -56,6 +57,8 @@ addons:
5657
- petstore.swagger.io
5758

5859
before_install:
60+
- curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.22.0
61+
- export PATH="$HOME/.yarn/bin:$PATH"
5962
# install rust
6063
- curl https://sh.rustup.rs -sSf | sh -s -- -y -v
6164
# required when sudo: required for the Ruby petstore tests
@@ -108,7 +111,7 @@ before_install:
108111
gpg --keyserver keyserver.ubuntu.com --recv-key $SIGNING_KEY ;
109112
gpg --check-trustdb ;
110113
fi;
111-
- pushd .; cd website; npm install; popd
114+
- pushd .; cd website; yarn install; popd
112115

113116
install:
114117
# Add Godeps dependencies to GOPATH and PATH
@@ -133,13 +136,13 @@ script:
133136
- /bin/bash ./bin/utils/detect_tab_in_java_class.sh
134137
# run integration tests defined in maven pom.xml
135138
# WARN: Travis will timeout after 10 minutes of no stdout/stderr activity, which is problematic with mvn --quiet.
136-
- mvn --quiet --batch-mode --show-version clean install
137-
- mvn --quiet --batch-mode --show-version verify -Psamples
139+
- mvn --quiet --batch-mode --show-version clean install -Dorg.slf4j.simpleLogger.defaultLogLevel=error
140+
- mvn --quiet --batch-mode --show-version verify -Psamples -Dorg.slf4j.simpleLogger.defaultLogLevel=error
138141
# test maven plugin
139-
- mvn --quiet clean compile -f modules/openapi-generator-maven-plugin/examples/java-client.xml
140-
- mvn --quiet clean compile -f modules/openapi-generator-maven-plugin/examples/multi-module/pom.xml
141-
- mvn --quiet clean compile -f modules/openapi-generator-maven-plugin/examples/kotlin.xml
142-
- mvn --quiet clean compile -f modules/openapi-generator-maven-plugin/examples/spring.xml
142+
- mvn --quiet clean compile -f modules/openapi-generator-maven-plugin/examples/java-client.xml -Dorg.slf4j.simpleLogger.defaultLogLevel=error
143+
- mvn --quiet clean compile -f modules/openapi-generator-maven-plugin/examples/multi-module/pom.xml -Dorg.slf4j.simpleLogger.defaultLogLevel=error
144+
- mvn --quiet clean compile -f modules/openapi-generator-maven-plugin/examples/kotlin.xml -Dorg.slf4j.simpleLogger.defaultLogLevel=error
145+
- mvn --quiet clean compile -f modules/openapi-generator-maven-plugin/examples/spring.xml -Dorg.slf4j.simpleLogger.defaultLogLevel=error
143146
# test gradle plugin
144147
- (cd modules/openapi-generator-gradle-plugin/samples/local-spec && ./gradlew buildGoSdk)
145148
- (cd modules/openapi-generator-gradle-plugin/samples/local-spec && ./gradlew openApiGenerate)
@@ -175,17 +178,41 @@ after_success:
175178
fi;
176179
fi;
177180
## docker: build and push openapi-generator-online to DockerHub
178-
- if [ $DOCKER_HUB_USERNAME ]; then echo "$DOCKER_HUB_PASSWORD" | docker login --username=$DOCKER_HUB_USERNAME --password-stdin && docker build -t $DOCKER_GENERATOR_IMAGE_NAME ./modules/openapi-generator-online && if [ ! -z "$TRAVIS_TAG" ]; then docker tag $DOCKER_GENERATOR_IMAGE_NAME:latest $DOCKER_GENERATOR_IMAGE_NAME:$TRAVIS_TAG; fi && if [ ! -z "$TRAVIS_TAG" ] || [ "$TRAVIS_BRANCH" = "master" ]; then docker push $DOCKER_GENERATOR_IMAGE_NAME && echo "Pushed to $DOCKER_GENERATOR_IMAGE_NAME"; fi; fi
181+
- if [ $DOCKER_HUB_USERNAME ]; then
182+
echo "$DOCKER_HUB_PASSWORD" | docker login --username=$DOCKER_HUB_USERNAME --password-stdin;
183+
export cli_version=$(\mvn -o org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=project.version | grep -v '\[');
184+
export build_date=$(date -u +"%Y-%m-%dT%H:%M:%SZ");
185+
docker build --label=org.opencontainers.image.created=$build_date --label=org.opencontainers.image.title=openapi-generator-online --label=org.opencontainers.image.revision=$TRAVIS_COMMIT --label=org.opencontainers.image.version=$cli_version -t $DOCKER_GENERATOR_IMAGE_NAME ./modules/openapi-generator-online;
186+
if [ ! -z "$TRAVIS_TAG" ]; then
187+
docker tag $DOCKER_GENERATOR_IMAGE_NAME:latest $DOCKER_GENERATOR_IMAGE_NAME:$TRAVIS_TAG;
188+
fi;
189+
if [ ! -z "$TRAVIS_TAG" ] || [ "$TRAVIS_BRANCH" = "master" ]; then
190+
docker push $DOCKER_GENERATOR_IMAGE_NAME && echo "Pushed to $DOCKER_GENERATOR_IMAGE_NAME";
191+
fi;
192+
fi;
179193
## docker: build cli image and push to Docker Hub
180-
- if [ $DOCKER_HUB_USERNAME ]; then echo "$DOCKER_HUB_PASSWORD" | docker login --username=$DOCKER_HUB_USERNAME --password-stdin && cp docker-entrypoint.sh ./modules/openapi-generator-cli && docker build -t $DOCKER_CODEGEN_CLI_IMAGE_NAME ./modules/openapi-generator-cli && if [ ! -z "$TRAVIS_TAG" ]; then docker tag $DOCKER_CODEGEN_CLI_IMAGE_NAME:latest $DOCKER_CODEGEN_CLI_IMAGE_NAME:$TRAVIS_TAG; fi && if [ ! -z "$TRAVIS_TAG" ] || [ "$TRAVIS_BRANCH" = "master" ]; then docker push $DOCKER_CODEGEN_CLI_IMAGE_NAME && echo "Pushed to $DOCKER_CODEGEN_CLI_IMAGE_NAME"; fi; fi
194+
- if [ $DOCKER_HUB_USERNAME ]; then
195+
echo "$DOCKER_HUB_PASSWORD" | docker login --username=$DOCKER_HUB_USERNAME --password-stdin;
196+
cp docker-entrypoint.sh ./modules/openapi-generator-cli;
197+
export cli_version=$(\mvn -o org.apache.maven.plugins:maven-help-plugin:2.1.1:evaluate -Dexpression=project.version | grep -v '\[');
198+
export build_date=$(date -u +"%Y-%m-%dT%H:%M:%SZ");
199+
docker build --label=org.opencontainers.image.created=$build_date --label=org.opencontainers.image.title=openapi-generator-cli --label=org.opencontainers.image.revision=$TRAVIS_COMMIT --label=org.opencontainers.image.version=$cli_version -t $DOCKER_CODEGEN_CLI_IMAGE_NAME ./modules/openapi-generator-cli;
200+
if [ ! -z "$TRAVIS_TAG" ]; then
201+
docker tag $DOCKER_CODEGEN_CLI_IMAGE_NAME:latest $DOCKER_CODEGEN_CLI_IMAGE_NAME:$TRAVIS_TAG;
202+
fi;
203+
if [ ! -z "$TRAVIS_TAG" ] || [ "$TRAVIS_BRANCH" = "master" ]; then
204+
docker push $DOCKER_CODEGEN_CLI_IMAGE_NAME;
205+
echo "Pushed to $DOCKER_CODEGEN_CLI_IMAGE_NAME";
206+
fi;
207+
fi;
181208
## publish latest website, variables below are secure environment variables which are unavailable to PRs from forks.
182209
- if [ "$TRAVIS_BRANCH" = "master" ] && [ -z $TRAVIS_TAG ] && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
183210
cd website;
184211
git config --global user.name "${GH_NAME}";
185212
git config --global user.email "${GH_EMAIL}";
186213
echo "machine github.com login ${GH_NAME} password ${GH_TOKEN}" > ~/.netrc;
187-
npm install;
188-
GIT_USER="${GH_NAME}" npm run-script publish-gh-pages;
214+
yarn install;
215+
GIT_USER="${GH_NAME}" yarn run publish-gh-pages;
189216
fi;
190217

191218
env:

CI/.drone.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,20 @@ steps:
1818
image: haskell:8.6.5
1919
commands:
2020
- (cd samples/client/petstore/haskell-http-client/ && stack --install-ghc --no-haddock-deps haddock --fast && stack test --fast)
21+
# below dart tests moved to circle ci
2122
# test Dart 2.x petstore client
22-
- name: dart2x-test
23-
image: google/dart
24-
commands:
25-
- (cd samples/client/petstore/dart-jaguar/openapi && pub get && pub run build_runner build --delete-conflicting-outputs)
26-
- (cd samples/client/petstore/dart-jaguar/flutter_petstore/openapi && pub get && pub run build_runner build --delete-conflicting-outputs)
27-
- (cd samples/client/petstore/dart2/petstore && pub get && pub run test)
23+
#- name: dart2x-test
24+
# image: google/dart
25+
# commands:
26+
# - (cd samples/client/petstore/dart-jaguar/openapi && pub get && pub run build_runner build --delete-conflicting-outputs)
27+
# - (cd samples/client/petstore/dart-jaguar/flutter_petstore/openapi && pub get && pub run build_runner build --delete-conflicting-outputs)
28+
# - (cd samples/client/petstore/dart2/petstore && pub get && pub run test)
2829
# test Java 11 HTTP client
2930
- name: java11-test
3031
image: openjdk:11.0
3132
commands:
32-
- ./mvnw clean install
33-
- ./mvnw --quiet verify -Psamples.droneio
33+
- ./mvnw -quiet clean install -Dorg.slf4j.simpleLogger.defaultLogLevel=error
34+
- ./mvnw --quiet verify -Psamples.droneio -Dorg.slf4j.simpleLogger.defaultLogLevel=error
3435
# test all generators with fake petstore spec (2.0, 3.0)
3536
- /bin/bash bin/utils/test-fake-petstore-for-all.sh
3637
# generate test scripts

CI/bitrise.yml

Lines changed: 13 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,18 @@ workflows:
2828
2929
set -e
3030
31-
mvn package
31+
mvn package -Dorg.slf4j.simpleLogger.defaultLogLevel=error
3232
title: Build openapi-generator
3333
34-
title: Update Swift4 samples
34+
title: Update Swift samples
3535
inputs:
3636
- content: |
3737
#!/usr/bin/env bash
3838
3939
set -e
4040
4141
sh bin/swift4-all.sh
42+
sh bin/swift5-all.sh
4243
4344
title: Run Swift4 tests
4445
inputs:
@@ -49,15 +50,6 @@ workflows:
4950
5051
./samples/client/petstore/swift4/swift4_test_all.sh
5152
./samples/client/test/swift4/swift4_test_all.sh
52-
53-
title: Update Swift5 samples
54-
inputs:
55-
- content: |
56-
#!/usr/bin/env bash
57-
58-
set -e
59-
60-
sh bin/swift5-all.sh
6153
6254
title: Run Swift5 tests
6355
inputs:
@@ -66,14 +58,15 @@ workflows:
6658
6759
set -e
6860
69-
./samples/client/petstore/swift5/swift5_test_all.sh
7061
./samples/client/test/swift5/swift5_test_all.sh
71-
72-
title: Run all bin scripts
73-
inputs:
74-
- content: |-
75-
#!/usr/bin/env bash
76-
77-
set -e
62+
# comment out the following as it's causing timeout
63+
64+
# title: Run all bin scripts
65+
# inputs:
66+
# - content: |-
67+
# #!/usr/bin/env bash
68+
#
69+
# set -e
70+
#
71+
# ./bin/run-all-petstore
7872

79-
./bin/run-all-petstore

CI/circle_parallel.sh

Lines changed: 29 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,25 @@ NODE_INDEX=${CIRCLE_NODE_INDEX:-0}
77

88
set -e
99

10+
function cleanup {
11+
# Show logs of 'petstore.swagger' container to troubleshoot Unit Test failures, if any.
12+
docker logs petstore.swagger # container name specified in circle.yml
13+
}
14+
15+
trap cleanup EXIT
16+
1017
if [ "$NODE_INDEX" = "1" ]; then
1118
echo "Running node $NODE_INDEX to test 'samples.circleci' defined in pom.xml ..."
12-
#cp CI/pom.xml.circleci pom.xml
1319
java -version
14-
mvn --quiet verify -Psamples.circleci
15-
mvn --quiet javadoc:javadoc -Psamples.circleci
20+
# Install golang version 1.14
21+
go version
22+
sudo mkdir /usr/local/go1.14
23+
wget -c https://dl.google.com/go/go1.14.linux-amd64.tar.gz -O - | sudo tar -xz -C /usr/local/go1.14
24+
export PATH="/usr/local/go1.14/go/bin:$PATH"
25+
go version
26+
27+
mvn --quiet verify -Psamples.circleci -Dorg.slf4j.simpleLogger.defaultLogLevel=error
28+
mvn --quiet javadoc:javadoc -Psamples.circleci -Dorg.slf4j.simpleLogger.defaultLogLevel=error
1629

1730
elif [ "$NODE_INDEX" = "2" ]; then
1831
# run ensure-up-to-date sample script on SNAPSHOT version only
@@ -46,14 +59,24 @@ elif [ "$NODE_INDEX" = "2" ]; then
4659
# install curl
4760
sudo apt-get -y build-dep libcurl4-gnutls-dev
4861
sudo apt-get -y install libcurl4-gnutls-dev
62+
4963
# run integration tests
50-
mvn --quiet verify -Psamples.misc
64+
mvn --quiet verify -Psamples.misc -Dorg.slf4j.simpleLogger.defaultLogLevel=error
5165
else
5266
echo "Running node $NODE_INDEX to test 'samples.circleci.jdk7' defined in pom.xml ..."
5367
sudo update-java-alternatives -s java-1.7.0-openjdk-amd64
5468
java -version
55-
#cp CI/pom.xml.circleci.java7 pom.xml
56-
mvn --quiet verify -Psamples.circleci.jdk7
69+
70+
# install dart2
71+
sudo apt-get update
72+
sudo apt-get install apt-transport-https
73+
sudo sh -c 'wget -qO- https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -'
74+
sudo sh -c 'wget -qO- https://storage.googleapis.com/download.dartlang.org/linux/debian/dart_stable.list > /etc/apt/sources.list.d/dart_stable.list'
75+
sudo apt-get update
76+
sudo apt-get install dart
77+
export PATH="$PATH:/usr/lib/dart/bin"
78+
79+
mvn --quiet verify -Psamples.circleci.jdk7 -Dorg.slf4j.simpleLogger.defaultLogLevel=error
5780
fi
5881

5982

CI/samples.ci/client/petstore/csharp-netcore/OpenAPIClient/src/Org.OpenAPITools.Test/Org.OpenAPITools.Test.csproj

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,8 @@ OpenAPI spec version: 1.0.0
2424
<EmbeddedResource Include="linux-logo.png" />
2525
</ItemGroup>
2626
<ItemGroup>
27-
<PackageReference Include="CompareNETObjects" Version="4.57.0" />
28-
<PackageReference Include="JsonSubTypes" Version="1.5.2" />
29-
<PackageReference Include="Newtonsoft.Json" Version="12.0.1" />
3027
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.9.0" />
3128
<PackageReference Include="xunit" Version="2.4.1" />
3229
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" />
33-
<PackageReference Include="RestSharp" Version="106.6.7" />
34-
<PackageReference Include="System.ComponentModel.Annotations" Version="4.5.0" />
3530
</ItemGroup>
3631
</Project>

CI/samples.ci/client/petstore/csharp-netcore/OpenAPIClientCore/src/Org.OpenAPITools.Test/Org.OpenAPITools.Test.csproj

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,8 @@ OpenAPI spec version: 1.0.0
2424
<EmbeddedResource Include="linux-logo.png" />
2525
</ItemGroup>
2626
<ItemGroup>
27-
<PackageReference Include="CompareNETObjects" Version="4.57.0" />
28-
<PackageReference Include="JsonSubTypes" Version="1.5.2" />
29-
<PackageReference Include="Newtonsoft.Json" Version="12.0.1" />
3027
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.9.0" />
3128
<PackageReference Include="xunit" Version="2.4.1" />
3229
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.1" />
33-
<PackageReference Include="RestSharp" Version="106.6.7" />
34-
<PackageReference Include="System.ComponentModel.Annotations" Version="4.5.0" />
3530
</ItemGroup>
3631
</Project>

CI/samples.ci/client/petstore/csharp/OpenAPIClient/src/Org.OpenAPITools.Test/Org.OpenAPITools.Test.csproj

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ OpenAPI Petstore
44
55
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
66
7-
OpenAPI spec version: 1.0.0
7+
The version of the OpenAPI document: 1.0.0
88
99
-->
1010
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
@@ -47,16 +47,16 @@ OpenAPI spec version: 1.0.0
4747
<Reference Include="System.Runtime.Serialization" />
4848
<Reference Include="System.Xml" />
4949
<Reference Include="Newtonsoft.Json">
50-
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
51-
<HintPath Condition="Exists('..\packages')">..\packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
52-
<HintPath Condition="Exists('..\..\packages')">..\..\packages\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
53-
<HintPath Condition="Exists('..\..\vendor')">..\..\vendor\Newtonsoft.Json.12.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
50+
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
51+
<HintPath Condition="Exists('..\packages')">..\packages\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
52+
<HintPath Condition="Exists('..\..\packages')">..\..\packages\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
53+
<HintPath Condition="Exists('..\..\vendor')">..\..\vendor\Newtonsoft.Json.12.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
5454
</Reference>
5555
<Reference Include="JsonSubTypes">
56-
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\JsonSubTypes.1.5.2\lib\net45\JsonSubTypes.dll</HintPath>
57-
<HintPath Condition="Exists('..\packages')">..\packages\JsonSubTypes.1.5.2\lib\net45\JsonSubTypes.dll</HintPath>
58-
<HintPath Condition="Exists('..\..\packages')">..\..\packages\JsonSubTypes.1.5.2\lib\net45\JsonSubTypes.dll</HintPath>
59-
<HintPath Condition="Exists('..\..\vendor')">..\..\vendor\JsonSubTypes.1.5.2\lib\net45\JsonSubTypes.dll</HintPath>
56+
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\JsonSubTypes.1.6.0\lib\net45\JsonSubTypes.dll</HintPath>
57+
<HintPath Condition="Exists('..\packages')">..\packages\JsonSubTypes.1.6.0\lib\net45\JsonSubTypes.dll</HintPath>
58+
<HintPath Condition="Exists('..\..\packages')">..\..\packages\JsonSubTypes.1.6.0\lib\net45\JsonSubTypes.dll</HintPath>
59+
<HintPath Condition="Exists('..\..\vendor')">..\..\vendor\JsonSubTypes.1.6.0\lib\net45\JsonSubTypes.dll</HintPath>
6060
</Reference>
6161
<Reference Include="RestSharp">
6262
<HintPath Condition="Exists('$(SolutionDir)\packages')">$(SolutionDir)\packages\RestSharp.105.1.0\lib\net45\RestSharp.dll</HintPath>
@@ -72,7 +72,8 @@ OpenAPI spec version: 1.0.0
7272
</Reference>
7373
</ItemGroup>
7474
<ItemGroup>
75-
<Compile Include="**\*.cs" Exclude="obj\**" />
75+
<Compile Include="**\*.cs"
76+
Exclude="obj\**"/>
7677
</ItemGroup>
7778
<ItemGroup>
7879
<None Include="packages.config" />

0 commit comments

Comments
 (0)