diff --git a/.github/workflows/get-started-python.yml b/.github/workflows/get-started-python.yml index dfa4ca6d92..8bf10cb0bf 100644 --- a/.github/workflows/get-started-python.yml +++ b/.github/workflows/get-started-python.yml @@ -24,7 +24,6 @@ jobs: working-directory: get-started/azure-auth/python/ runs-on: ubuntu-latest - needs: [] strategy: matrix: @@ -55,7 +54,6 @@ jobs: working-directory: get-started/quickstart/python/ runs-on: ubuntu-latest - needs: [] strategy: matrix: diff --git a/.github/workflows/get-started-ruby.yml b/.github/workflows/get-started-ruby.yml index 0c272e93e4..79e364fdec 100644 --- a/.github/workflows/get-started-ruby.yml +++ b/.github/workflows/get-started-ruby.yml @@ -22,10 +22,9 @@ jobs: working-directory: get-started/azure-auth/ruby/ runs-on: ubuntu-latest - needs: [] strategy: matrix: - ruby-version: ['3.2', '3.3', '3.4', '4.0'] + ruby-version: ['3.3', '3.4', '4.0'] steps: - uses: actions/checkout@v6 diff --git a/.gitignore b/.gitignore index 397591aa54..a57e5b148f 100644 --- a/.gitignore +++ b/.gitignore @@ -11,4 +11,7 @@ *.exe ## log files -*.log \ No newline at end of file +*.log + +## Python virtual environment (venv) +.venv/ \ No newline at end of file diff --git a/get-started/azure-auth/dotnet/src/Client/kiota-lock.json b/get-started/azure-auth/dotnet/src/Client/kiota-lock.json index 015a56ebcc..01469163a0 100644 --- a/get-started/azure-auth/dotnet/src/Client/kiota-lock.json +++ b/get-started/azure-auth/dotnet/src/Client/kiota-lock.json @@ -1,8 +1,8 @@ { - "descriptionHash": "4F9357A2611BE264CC88A04A51324A601C82B3AB985530CF30789DB42470344E1C0DF92172592119E9214C3438440B8009A09E7C0D89A086D580CA33051407BF", + "descriptionHash": "3E0186BCFC34191608126D234117B16EEF7C37D5888181465C174893EEB58EFDD64F2EBF74A4BAB22D401423338015E55CB62A766E3AE78F1D5C89FFE299CF40", "descriptionLocation": "../../../get-me.yml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.29.0", + "kiotaVersion": "1.31.1", "clientClassName": "GetUserApiClient", "typeAccessModifier": "Public", "clientNamespaceName": "GetUserClient.ApiClient", diff --git a/get-started/azure-auth/go/client/kiota-lock.json b/get-started/azure-auth/go/client/kiota-lock.json index 1d55076260..8aac88a0b5 100644 --- a/get-started/azure-auth/go/client/kiota-lock.json +++ b/get-started/azure-auth/go/client/kiota-lock.json @@ -1,8 +1,8 @@ { - "descriptionHash": "4F9357A2611BE264CC88A04A51324A601C82B3AB985530CF30789DB42470344E1C0DF92172592119E9214C3438440B8009A09E7C0D89A086D580CA33051407BF", + "descriptionHash": "3E0186BCFC34191608126D234117B16EEF7C37D5888181465C174893EEB58EFDD64F2EBF74A4BAB22D401423338015E55CB62A766E3AE78F1D5C89FFE299CF40", "descriptionLocation": "../../get-me.yml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.29.0", + "kiotaVersion": "1.31.1", "clientClassName": "GraphApiClient", "typeAccessModifier": "Public", "clientNamespaceName": "getuser/client", diff --git a/get-started/azure-auth/java/app/src/main/java/getuserclient/apiclient/kiota-lock.json b/get-started/azure-auth/java/app/src/main/java/getuserclient/apiclient/kiota-lock.json index f999654883..856f3e8092 100644 --- a/get-started/azure-auth/java/app/src/main/java/getuserclient/apiclient/kiota-lock.json +++ b/get-started/azure-auth/java/app/src/main/java/getuserclient/apiclient/kiota-lock.json @@ -1,8 +1,8 @@ { - "descriptionHash": "4F9357A2611BE264CC88A04A51324A601C82B3AB985530CF30789DB42470344E1C0DF92172592119E9214C3438440B8009A09E7C0D89A086D580CA33051407BF", + "descriptionHash": "3E0186BCFC34191608126D234117B16EEF7C37D5888181465C174893EEB58EFDD64F2EBF74A4BAB22D401423338015E55CB62A766E3AE78F1D5C89FFE299CF40", "descriptionLocation": "../../../../../../../get-me.yml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.29.0", + "kiotaVersion": "1.31.1", "clientClassName": "GetUserApiClient", "typeAccessModifier": "Public", "clientNamespaceName": "getuserclient.apiclient", diff --git a/get-started/azure-auth/php/client/kiota-lock.json b/get-started/azure-auth/php/client/kiota-lock.json index 09c43baa87..12248cb4cc 100644 --- a/get-started/azure-auth/php/client/kiota-lock.json +++ b/get-started/azure-auth/php/client/kiota-lock.json @@ -1,8 +1,8 @@ { - "descriptionHash": "4F9357A2611BE264CC88A04A51324A601C82B3AB985530CF30789DB42470344E1C0DF92172592119E9214C3438440B8009A09E7C0D89A086D580CA33051407BF", + "descriptionHash": "3E0186BCFC34191608126D234117B16EEF7C37D5888181465C174893EEB58EFDD64F2EBF74A4BAB22D401423338015E55CB62A766E3AE78F1D5C89FFE299CF40", "descriptionLocation": "../../get-me.yml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.29.0", + "kiotaVersion": "1.31.1", "clientClassName": "GraphApiClient", "typeAccessModifier": "Public", "clientNamespaceName": "GetUser\\Client", diff --git a/get-started/azure-auth/python/client/kiota-lock.json b/get-started/azure-auth/python/client/kiota-lock.json index c28ed775f4..90bdb13577 100644 --- a/get-started/azure-auth/python/client/kiota-lock.json +++ b/get-started/azure-auth/python/client/kiota-lock.json @@ -1,8 +1,8 @@ { - "descriptionHash": "4F9357A2611BE264CC88A04A51324A601C82B3AB985530CF30789DB42470344E1C0DF92172592119E9214C3438440B8009A09E7C0D89A086D580CA33051407BF", + "descriptionHash": "3E0186BCFC34191608126D234117B16EEF7C37D5888181465C174893EEB58EFDD64F2EBF74A4BAB22D401423338015E55CB62A766E3AE78F1D5C89FFE299CF40", "descriptionLocation": "../../get-me.yml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.29.0", + "kiotaVersion": "1.31.1", "clientClassName": "GetUserApiClient", "typeAccessModifier": "Public", "clientNamespaceName": "client", diff --git a/get-started/azure-auth/python/requirements.txt b/get-started/azure-auth/python/requirements.txt index 456198b263..f8d296e378 100644 --- a/get-started/azure-auth/python/requirements.txt +++ b/get-started/azure-auth/python/requirements.txt @@ -1,159 +1,130 @@ # -# This file is autogenerated by pip-compile with Python 3.10 +# This file is autogenerated by pip-compile with Python 3.12 # by the following command: # -# pip-compile --output-file=requirements.txt --resolver=backtracking +# pip-compile # aiohappyeyeballs==2.6.1 # via aiohttp -aiohttp==3.13.4 +aiohttp==3.13.5 # via microsoft-kiota-authentication-azure aiosignal==1.4.0 # via aiohttp -anyio==3.7.0 - # via httpcore -async-timeout==4.0.2 - # via aiohttp -attrs==23.1.0 +anyio==4.13.0 + # via httpx +attrs==26.1.0 # via aiohttp -azure-core==1.38.0 +azure-core==1.40.0 # via # azure-identity # microsoft-kiota-authentication-azure azure-identity==1.25.3 # via -r requirements.in -certifi==2024.7.4 +certifi==2026.4.22 # via # httpcore # httpx # requests -cffi==1.15.1 +cffi==2.0.0 # via cryptography -charset-normalizer==3.1.0 +charset-normalizer==3.4.7 # via requests -cryptography==44.0.1 +cryptography==48.0.0 # via # azure-identity # msal # pyjwt -deprecated==1.2.14 - # via - # opentelemetry-api - # opentelemetry-semantic-conventions -exceptiongroup==1.1.3 - # via anyio -frozenlist==1.3.3 +frozenlist==1.8.0 # via # aiohttp # aiosignal -h11==0.14.0 +h11==0.16.0 # via httpcore h2==4.3.0 # via httpx hpack==4.1.0 # via h2 -httpcore==0.17.2 +httpcore==1.0.9 # via httpx -httpx[http2]==0.24.1 +httpx[http2]==0.28.1 # via microsoft-kiota-http hyperframe==6.1.0 # via h2 -idna==3.7 +idna==3.13 # via # anyio # httpx # requests # yarl -importlib-metadata==6.8.0 +importlib-metadata==8.7.1 # via opentelemetry-api -microsoft-kiota-abstractions==1.4.6 +microsoft-kiota-abstractions==1.10.1 # via # -r requirements.in # microsoft-kiota-authentication-azure # microsoft-kiota-http # microsoft-kiota-serialization-json # microsoft-kiota-serialization-text -microsoft-kiota-authentication-azure==1.4.6 +microsoft-kiota-authentication-azure==1.10.1 # via -r requirements.in -microsoft-kiota-http==1.4.6 +microsoft-kiota-http==1.10.1 # via -r requirements.in -microsoft-kiota-serialization-json==1.4.6 +microsoft-kiota-serialization-json==1.10.1 # via -r requirements.in -microsoft-kiota-serialization-text==1.4.6 +microsoft-kiota-serialization-text==1.10.1 # via -r requirements.in -msal==1.35.1 +msal==1.36.0 # via # azure-identity # msal-extensions -msal-extensions==1.2.0 +msal-extensions==1.3.1 # via azure-identity -multidict==6.0.4 +multidict==6.7.1 # via # aiohttp # yarl -opentelemetry-api==1.27.0 +opentelemetry-api==1.41.1 # via # microsoft-kiota-abstractions # microsoft-kiota-authentication-azure # microsoft-kiota-http # opentelemetry-sdk # opentelemetry-semantic-conventions -opentelemetry-sdk==1.27.0 +opentelemetry-sdk==1.41.1 # via # microsoft-kiota-abstractions # microsoft-kiota-authentication-azure # microsoft-kiota-http -opentelemetry-semantic-conventions==0.48b0 +opentelemetry-semantic-conventions==0.62b1 # via opentelemetry-sdk -pendulum==3.0.0 - # via microsoft-kiota-serialization-json -portalocker==2.7.0 - # via msal-extensions -propcache==0.2.0 +propcache==0.4.1 # via # aiohttp # yarl -pycparser==2.21 +pycparser==3.0 # via cffi -pyjwt[crypto]==2.7.0 +pyjwt[crypto]==2.12.1 # via # msal # pyjwt -python-dateutil==2.9.0.post0 - # via - # microsoft-kiota-serialization-text - # pendulum - # time-machine -requests==2.33.0 +requests==2.33.1 # via # azure-core # msal -six==1.16.0 - # via python-dateutil -sniffio==1.3.0 - # via - # anyio - # httpcore - # httpx -std-uritemplate==0.0.40 +std-uritemplate==2.0.8 # via microsoft-kiota-abstractions -time-machine==2.13.0 - # via pendulum -typing-extensions==4.6.3 +typing-extensions==4.15.0 # via # aiosignal + # anyio # azure-core # azure-identity + # opentelemetry-api # opentelemetry-sdk -tzdata==2023.4 - # via pendulum + # opentelemetry-semantic-conventions urllib3==2.6.3 - # via - # microsoft-kiota-http - # requests -wrapt==1.15.0 - # via deprecated -yarl==1.17.2 + # via requests +yarl==1.23.0 # via aiohttp -zipp==3.19.1 +zipp==3.23.1 # via importlib-metadata diff --git a/get-started/azure-auth/ruby/Gemfile.lock b/get-started/azure-auth/ruby/Gemfile.lock index be4f6422b4..b6fdab504f 100644 --- a/get-started/azure-auth/ruby/Gemfile.lock +++ b/get-started/azure-auth/ruby/Gemfile.lock @@ -3,7 +3,8 @@ GEM specs: addressable (2.9.0) public_suffix (>= 2.0.2, < 8.0) - bigdecimal (4.0.1) + base64 (0.3.0) + bigdecimal (4.1.2) crack (1.0.1) bigdecimal rexml @@ -15,36 +16,40 @@ GEM faraday-net_http (3.4.2) net-http (~> 0.5) hashdiff (1.2.1) - hashie (5.0.0) + hashie (5.1.0) + logger iso8601 (0.13.0) - json (2.9.1) - jwt (2.7.1) + json (2.19.5) + jwt (3.1.2) + base64 logger (1.7.0) - microsoft_kiota_abstractions (0.14.4) + microsoft_kiota_abstractions (0.15.1) iso8601 (~> 0.13.0) - stduritemplate (~> 0.0.39) - microsoft_kiota_authentication_oauth (0.8.0) - microsoft_kiota_abstractions (~> 0.14.0) + stduritemplate (>= 0.0.39, < 1.1.0) + microsoft_kiota_authentication_oauth (0.9.0) + microsoft_kiota_abstractions (>= 0.14, < 0.16) oauth2 (~> 2.0) - microsoft_kiota_faraday (0.15.0) + microsoft_kiota_faraday (0.16.0) faraday (~> 2.7, >= 2.7.2) - microsoft_kiota_abstractions (~> 0.14.0) - microsoft_kiota_serialization_json (0.9.2) - json (>= 2.6.3, < 2.10.0) - microsoft_kiota_abstractions (~> 0.14.0) - uuidtools (~> 2.2.0) - multi_xml (0.6.0) + microsoft_kiota_abstractions (>= 0.14, < 0.16) + microsoft_kiota_serialization_json (0.10.0) + json (>= 2.6.3, < 2.20.0) + microsoft_kiota_abstractions (>= 0.14, < 0.16) + uuidtools (>= 2.2, < 3.1) + multi_xml (0.9.1) + bigdecimal (>= 3.1, < 5) net-http (0.9.1) uri (>= 0.11.1) - oauth2 (2.0.9) - faraday (>= 0.17.3, < 3.0) - jwt (>= 1.0, < 3.0) + oauth2 (2.0.18) + faraday (>= 0.17.3, < 4.0) + jwt (>= 1.0, < 4.0) + logger (~> 1.2) multi_xml (~> 0.5) rack (>= 1.2, < 4) - snaky_hash (~> 2.0) - version_gem (~> 1.1) + snaky_hash (~> 2.0, >= 2.0.3) + version_gem (~> 1.1, >= 1.1.9) public_suffix (7.0.5) - rack (3.1.21) + rack (3.2.6) rake (13.4.2) rexml (3.4.4) rspec (3.13.2) @@ -56,23 +61,24 @@ GEM rspec-expectations (3.13.5) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) - rspec-mocks (3.13.6) + rspec-mocks (3.13.8) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.13.0) - rspec-support (3.13.6) - snaky_hash (2.0.1) - hashie - version_gem (~> 1.1, >= 1.1.1) - stduritemplate (0.0.59) + rspec-support (3.13.7) + snaky_hash (2.0.3) + hashie (>= 0.1.0, < 6) + version_gem (>= 1.1.8, < 3) + stduritemplate (1.0.6) uri (1.1.1) - uuidtools (2.2.0) - version_gem (1.1.3) + uuidtools (3.0.0) + version_gem (1.1.9) webmock (3.26.2) addressable (>= 2.8.0) crack (>= 0.3.2) hashdiff (>= 0.4.0, < 2.0.0) PLATFORMS + ruby x86_64-linux DEPENDENCIES @@ -84,5 +90,43 @@ DEPENDENCIES rspec webmock +CHECKSUMS + addressable (2.9.0) sha256=7fdf6ac3660f7f4e867a0838be3f6cf722ace541dd97767fa42bc6cfa980c7af + base64 (0.3.0) sha256=27337aeabad6ffae05c265c450490628ef3ebd4b67be58257393227588f5a97b + bigdecimal (4.1.2) sha256=53d217666027eab4280346fba98e7d5b66baaae1b9c3c1c0ffe89d48188a3fbd + bundler (4.0.11) sha256=5bcec0fb78302e48d02ee46f10ee6e6942be647ba5b44a6d1ddfda9a240ce785 + crack (1.0.1) sha256=ff4a10390cd31d66440b7524eb1841874db86201d5b70032028553130b6d4c7e + diff-lcs (1.6.2) sha256=9ae0d2cba7d4df3075fe8cd8602a8604993efc0dfa934cff568969efb1909962 + faraday (2.14.1) sha256=a43cceedc1e39d188f4d2cdd360a8aaa6a11da0c407052e426ba8d3fb42ef61c + faraday-net_http (3.4.2) sha256=f147758260d3526939bf57ecf911682f94926a3666502e24c69992765875906c + hashdiff (1.2.1) sha256=9c079dbc513dfc8833ab59c0c2d8f230fa28499cc5efb4b8dd276cf931457cd1 + hashie (5.1.0) sha256=c266471896f323c446ea8207f8ffac985d2718df0a0ba98651a3057096ca3870 + iso8601 (0.13.0) sha256=298c2b15b7be5fa95a1372813d36a2257656cd8e906dfbc1f5cb409851425aa2 + json (2.19.5) sha256=218a18553e4801d579ca7e0f5bc72bafd776d7397238a1fb4e74db5b0a812c59 + jwt (3.1.2) sha256=af6991f19a6bb4060d618d9add7a66f0eeb005ac0bc017cd01f63b42e122d535 + logger (1.7.0) sha256=196edec7cc44b66cfb40f9755ce11b392f21f7967696af15d274dde7edff0203 + microsoft_kiota_abstractions (0.15.1) sha256=2f924823a064bf14d7d5abbe1d3800c06980c115f8058e63dd1240f32b396fa8 + microsoft_kiota_authentication_oauth (0.9.0) sha256=72cec727f9b58421df301d993139c56f6957279aa8874aae9445263edfd39200 + microsoft_kiota_faraday (0.16.0) sha256=5cd59f7cc23e78e8a885b4fc1b13e1008c6af9196151466825e9566a4264bc28 + microsoft_kiota_serialization_json (0.10.0) sha256=7a42a76c5d2edad5602f7dab5c467a07ec91319e9ea1073425b568a3126048dd + multi_xml (0.9.1) sha256=7ce766b59c17241ed62976caeae1fae9b2431b263398c35396239a68c4a64e57 + net-http (0.9.1) sha256=25ba0b67c63e89df626ed8fac771d0ad24ad151a858af2cc8e6a716ca4336996 + oauth2 (2.0.18) sha256=bacf11e470dfb963f17348666d0a75c7b29ca65bc48fd47be9057cf91a403287 + public_suffix (7.0.5) sha256=1a8bb08f1bbea19228d3bed6e5ed908d1cb4f7c2726d18bd9cadf60bc676f623 + rack (3.2.6) sha256=5ed78e1f73b2e25679bec7d45ee2d4483cc4146eb1be0264fc4d94cb5ef212c2 + rake (13.4.2) sha256=cb825b2bd5f1f8e91ca37bddb4b9aaf345551b4731da62949be002fa89283701 + rexml (3.4.4) sha256=19e0a2c3425dfbf2d4fc1189747bdb2f849b6c5e74180401b15734bc97b5d142 + rspec (3.13.2) sha256=206284a08ad798e61f86d7ca3e376718d52c0bc944626b2349266f239f820587 + rspec-core (3.13.6) sha256=a8823c6411667b60a8bca135364351dda34cd55e44ff94c4be4633b37d828b2d + rspec-expectations (3.13.5) sha256=33a4d3a1d95060aea4c94e9f237030a8f9eae5615e9bd85718fe3a09e4b58836 + rspec-mocks (3.13.8) sha256=086ad3d3d17533f4237643de0b5c42f04b66348c28bf6b9c2d3f4a3b01af1d47 + rspec-support (3.13.7) sha256=0640e5570872aafefd79867901deeeeb40b0c9875a36b983d85f54fb7381c47c + snaky_hash (2.0.3) sha256=25a3d299566e8153fb02fa23fd9a9358845950f7a523ddbbe1fa1e0d79a6d456 + stduritemplate (1.0.6) sha256=38072a141a282ea4119c33a4d726c71264121de3e96e59c76de38a660042eb2f + uri (1.1.1) sha256=379fa58d27ffb1387eaada68c749d1426738bd0f654d812fcc07e7568f5c57c6 + uuidtools (3.0.0) sha256=47a3d4d20e728f522c675be8bc4e001252db39864c97deb194dc543b153a4be8 + version_gem (1.1.9) sha256=0c1a0962ae543c84a00889bb018d9f14d8f8af6029d26b295d98774e3d2eb9a4 + webmock (3.26.2) sha256=774556f2ea6371846cca68c01769b2eac0d134492d21f6d0ab5dd643965a4c90 + BUNDLED WITH - 2.3.7 + 4.0.11 diff --git a/get-started/azure-auth/ruby/client/kiota-lock.json b/get-started/azure-auth/ruby/client/kiota-lock.json index a960206c47..d2b9bd8d4f 100644 --- a/get-started/azure-auth/ruby/client/kiota-lock.json +++ b/get-started/azure-auth/ruby/client/kiota-lock.json @@ -1,8 +1,8 @@ { - "descriptionHash": "4F9357A2611BE264CC88A04A51324A601C82B3AB985530CF30789DB42470344E1C0DF92172592119E9214C3438440B8009A09E7C0D89A086D580CA33051407BF", + "descriptionHash": "3E0186BCFC34191608126D234117B16EEF7C37D5888181465C174893EEB58EFDD64F2EBF74A4BAB22D401423338015E55CB62A766E3AE78F1D5C89FFE299CF40", "descriptionLocation": "../../get-me.yml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.29.0", + "kiotaVersion": "1.31.1", "clientClassName": "GetUserApiClient", "typeAccessModifier": "Public", "clientNamespaceName": "GetUser", diff --git a/get-started/azure-auth/ruby/client/me/me_request_builder.rb b/get-started/azure-auth/ruby/client/me/me_request_builder.rb index a698c92470..88d6b0f0d2 100644 --- a/get-started/azure-auth/ruby/client/me/me_request_builder.rb +++ b/get-started/azure-auth/ruby/client/me/me_request_builder.rb @@ -6,7 +6,7 @@ module GetUser module Me ## - # Builds and executes requests for operations under \me + # Builds and executes requests for operations under #me class MeRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder ## diff --git a/get-started/azure-auth/typescript/client/kiota-lock.json b/get-started/azure-auth/typescript/client/kiota-lock.json index 6c9113228c..dd0fa14b09 100644 --- a/get-started/azure-auth/typescript/client/kiota-lock.json +++ b/get-started/azure-auth/typescript/client/kiota-lock.json @@ -1,8 +1,8 @@ { - "descriptionHash": "4F9357A2611BE264CC88A04A51324A601C82B3AB985530CF30789DB42470344E1C0DF92172592119E9214C3438440B8009A09E7C0D89A086D580CA33051407BF", + "descriptionHash": "3E0186BCFC34191608126D234117B16EEF7C37D5888181465C174893EEB58EFDD64F2EBF74A4BAB22D401423338015E55CB62A766E3AE78F1D5C89FFE299CF40", "descriptionLocation": "../../get-me.yml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.29.0", + "kiotaVersion": "1.31.1", "clientClassName": "GetUserApiClient", "typeAccessModifier": "Public", "clientNamespaceName": "ApiSdk", diff --git a/get-started/azure-auth/typescript/package-lock.json b/get-started/azure-auth/typescript/package-lock.json index 67b5c64a33..122ba210f2 100644 --- a/get-started/azure-auth/typescript/package-lock.json +++ b/get-started/azure-auth/typescript/package-lock.json @@ -15,7 +15,6 @@ "node-fetch": "^3.3.2" }, "devDependencies": { - "@tsconfig/node20": "^20.1.9", "@types/node": "^25.6.0", "typescript": "^6.0.3" }, @@ -263,12 +262,6 @@ "resolved": "https://registry.npmjs.org/@std-uritemplate/std-uritemplate/-/std-uritemplate-2.0.1.tgz", "integrity": "sha512-HC5kiXCa7Mxrv7SI7qH4ECfC1H+vFG15COBtX8aUur8EGEWK17RH3QVyBxtyjUXE448O4fGhQHh3kirEvPGWjw==" }, - "node_modules/@tsconfig/node20": { - "version": "20.1.9", - "resolved": "https://registry.npmjs.org/@tsconfig/node20/-/node20-20.1.9.tgz", - "integrity": "sha512-IjlTv1RsvnPtUcjTqtVsZExKVq+KQx4g5pCP5tI7rAs6Xesl2qFwSz/tPDBC4JajkL/MlezBu3gPUwqRHl+RIg==", - "dev": true - }, "node_modules/@types/node": { "version": "25.6.0", "resolved": "https://registry.npmjs.org/@types/node/-/node-25.6.0.tgz", @@ -912,12 +905,6 @@ "resolved": "https://registry.npmjs.org/@std-uritemplate/std-uritemplate/-/std-uritemplate-2.0.1.tgz", "integrity": "sha512-HC5kiXCa7Mxrv7SI7qH4ECfC1H+vFG15COBtX8aUur8EGEWK17RH3QVyBxtyjUXE448O4fGhQHh3kirEvPGWjw==" }, - "@tsconfig/node20": { - "version": "20.1.9", - "resolved": "https://registry.npmjs.org/@tsconfig/node20/-/node20-20.1.9.tgz", - "integrity": "sha512-IjlTv1RsvnPtUcjTqtVsZExKVq+KQx4g5pCP5tI7rAs6Xesl2qFwSz/tPDBC4JajkL/MlezBu3gPUwqRHl+RIg==", - "dev": true - }, "@types/node": { "version": "25.6.0", "resolved": "https://registry.npmjs.org/@types/node/-/node-25.6.0.tgz", diff --git a/get-started/azure-auth/typescript/package.json b/get-started/azure-auth/typescript/package.json index 4a75baef7f..0e1928d571 100644 --- a/get-started/azure-auth/typescript/package.json +++ b/get-started/azure-auth/typescript/package.json @@ -14,7 +14,6 @@ "author": "", "license": "MIT", "devDependencies": { - "@tsconfig/node20": "^20.1.9", "@types/node": "^25.6.0", "typescript": "^6.0.3" }, @@ -25,4 +24,4 @@ "node-fetch": "^3.3.2" }, "type": "module" -} \ No newline at end of file +} diff --git a/get-started/azure-auth/typescript/tsconfig.json b/get-started/azure-auth/typescript/tsconfig.json index a9583b4b8d..aedacfb82c 100644 --- a/get-started/azure-auth/typescript/tsconfig.json +++ b/get-started/azure-auth/typescript/tsconfig.json @@ -1,5 +1,4 @@ { - "extends": "@tsconfig/node20/tsconfig.json", "compilerOptions": { /* Visit https://aka.ms/tsconfig.json to read more about this file */ diff --git a/get-started/quickstart/dart/client/kiota-lock.json b/get-started/quickstart/dart/client/kiota-lock.json index 931d5f5c42..194889cb6d 100644 --- a/get-started/quickstart/dart/client/kiota-lock.json +++ b/get-started/quickstart/dart/client/kiota-lock.json @@ -1,8 +1,8 @@ { - "descriptionHash": "498C44F445211C4DF10B9071A659A08AE44A8598479EAD4F6734B2EDCC724BD5138BA3E5A28BB427641F97EB6D82CF2C8D59D9FD9FC1C8DCCE57EF42CFB73550", + "descriptionHash": "3D1C6FB9CA7B5A33CA719AD77C107D7C46F924550C04C9E0441A195B5427DECD828031168E2F9DF015D122A2862119704C861BB71B697A2D3B712C0388E5C61F", "descriptionLocation": "../../posts-api.yml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.29.0", + "kiotaVersion": "1.31.1", "clientClassName": "PostsClient", "typeAccessModifier": "Public", "clientNamespaceName": "ApiSdk", diff --git a/get-started/quickstart/dotnet/src/Client/kiota-lock.json b/get-started/quickstart/dotnet/src/Client/kiota-lock.json index 203b062d95..046b66de89 100644 --- a/get-started/quickstart/dotnet/src/Client/kiota-lock.json +++ b/get-started/quickstart/dotnet/src/Client/kiota-lock.json @@ -1,8 +1,8 @@ { - "descriptionHash": "498C44F445211C4DF10B9071A659A08AE44A8598479EAD4F6734B2EDCC724BD5138BA3E5A28BB427641F97EB6D82CF2C8D59D9FD9FC1C8DCCE57EF42CFB73550", + "descriptionHash": "3D1C6FB9CA7B5A33CA719AD77C107D7C46F924550C04C9E0441A195B5427DECD828031168E2F9DF015D122A2862119704C861BB71B697A2D3B712C0388E5C61F", "descriptionLocation": "../../../posts-api.yml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.29.0", + "kiotaVersion": "1.31.1", "clientClassName": "PostsClient", "typeAccessModifier": "Public", "clientNamespaceName": "KiotaPosts.Client", diff --git a/get-started/quickstart/go/client/kiota-lock.json b/get-started/quickstart/go/client/kiota-lock.json index 8a838acad0..ea1c1e5c18 100644 --- a/get-started/quickstart/go/client/kiota-lock.json +++ b/get-started/quickstart/go/client/kiota-lock.json @@ -1,8 +1,8 @@ { - "descriptionHash": "498C44F445211C4DF10B9071A659A08AE44A8598479EAD4F6734B2EDCC724BD5138BA3E5A28BB427641F97EB6D82CF2C8D59D9FD9FC1C8DCCE57EF42CFB73550", + "descriptionHash": "3D1C6FB9CA7B5A33CA719AD77C107D7C46F924550C04C9E0441A195B5427DECD828031168E2F9DF015D122A2862119704C861BB71B697A2D3B712C0388E5C61F", "descriptionLocation": "../../posts-api.yml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.29.0", + "kiotaVersion": "1.31.1", "clientClassName": "PostsClient", "typeAccessModifier": "Public", "clientNamespaceName": "kiota_posts/client", diff --git a/get-started/quickstart/go/client/posts/posts_request_builder.go b/get-started/quickstart/go/client/posts/posts_request_builder.go index 36fb2ffe47..618858dba4 100644 --- a/get-started/quickstart/go/client/posts/posts_request_builder.go +++ b/get-started/quickstart/go/client/posts/posts_request_builder.go @@ -17,9 +17,9 @@ type PostsRequestBuilder struct { // PostsRequestBuilderGetQueryParameters get posts type PostsRequestBuilderGetQueryParameters struct { // Filter results by title - Title *string `uriparametername:"title"` + Title *string "uriparametername:\"title\"" // Filter results by user ID - UserId *int32 `uriparametername:"userId"` + UserId *int32 "uriparametername:\"userId\"" } // PostsRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options. type PostsRequestBuilderGetRequestConfiguration struct { diff --git a/get-started/quickstart/java/app/src/main/java/kiotaposts/client/kiota-lock.json b/get-started/quickstart/java/app/src/main/java/kiotaposts/client/kiota-lock.json index 03ad7a3172..b5c82b1a59 100644 --- a/get-started/quickstart/java/app/src/main/java/kiotaposts/client/kiota-lock.json +++ b/get-started/quickstart/java/app/src/main/java/kiotaposts/client/kiota-lock.json @@ -1,8 +1,8 @@ { - "descriptionHash": "498C44F445211C4DF10B9071A659A08AE44A8598479EAD4F6734B2EDCC724BD5138BA3E5A28BB427641F97EB6D82CF2C8D59D9FD9FC1C8DCCE57EF42CFB73550", + "descriptionHash": "3D1C6FB9CA7B5A33CA719AD77C107D7C46F924550C04C9E0441A195B5427DECD828031168E2F9DF015D122A2862119704C861BB71B697A2D3B712C0388E5C61F", "descriptionLocation": "../../../../../../../posts-api.yml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.29.0", + "kiotaVersion": "1.31.1", "clientClassName": "PostsClient", "typeAccessModifier": "Public", "clientNamespaceName": "kiotaposts.client", diff --git a/get-started/quickstart/php/client/kiota-lock.json b/get-started/quickstart/php/client/kiota-lock.json index 9e55122bd4..c7249d71c8 100644 --- a/get-started/quickstart/php/client/kiota-lock.json +++ b/get-started/quickstart/php/client/kiota-lock.json @@ -1,8 +1,8 @@ { - "descriptionHash": "498C44F445211C4DF10B9071A659A08AE44A8598479EAD4F6734B2EDCC724BD5138BA3E5A28BB427641F97EB6D82CF2C8D59D9FD9FC1C8DCCE57EF42CFB73550", + "descriptionHash": "3D1C6FB9CA7B5A33CA719AD77C107D7C46F924550C04C9E0441A195B5427DECD828031168E2F9DF015D122A2862119704C861BB71B697A2D3B712C0388E5C61F", "descriptionLocation": "../../posts-api.yml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.29.0", + "kiotaVersion": "1.31.1", "clientClassName": "PostsApiClient", "typeAccessModifier": "Public", "clientNamespaceName": "KiotaPosts\\Client", diff --git a/get-started/quickstart/python/client/kiota-lock.json b/get-started/quickstart/python/client/kiota-lock.json index 54df3240e4..24afa18e29 100644 --- a/get-started/quickstart/python/client/kiota-lock.json +++ b/get-started/quickstart/python/client/kiota-lock.json @@ -1,8 +1,8 @@ { - "descriptionHash": "498C44F445211C4DF10B9071A659A08AE44A8598479EAD4F6734B2EDCC724BD5138BA3E5A28BB427641F97EB6D82CF2C8D59D9FD9FC1C8DCCE57EF42CFB73550", + "descriptionHash": "3D1C6FB9CA7B5A33CA719AD77C107D7C46F924550C04C9E0441A195B5427DECD828031168E2F9DF015D122A2862119704C861BB71B697A2D3B712C0388E5C61F", "descriptionLocation": "../../posts-api.yml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.29.0", + "kiotaVersion": "1.31.1", "clientClassName": "PostsClient", "typeAccessModifier": "Public", "clientNamespaceName": "client", diff --git a/get-started/quickstart/python/requirements.txt b/get-started/quickstart/python/requirements.txt index 00bcf27905..3b6e41cd4f 100644 --- a/get-started/quickstart/python/requirements.txt +++ b/get-started/quickstart/python/requirements.txt @@ -1,88 +1,64 @@ # -# This file is autogenerated by pip-compile with Python 3.10 +# This file is autogenerated by pip-compile with Python 3.12 # by the following command: # -# pip-compile --output-file=requirements.txt --resolver=backtracking requirements.in +# pip-compile # -anyio==3.6.2 - # via httpcore -certifi==2024.7.4 +anyio==4.13.0 + # via httpx +certifi==2026.4.22 # via # httpcore # httpx -deprecated==1.2.14 - # via - # opentelemetry-api - # opentelemetry-semantic-conventions -h11==0.14.0 +h11==0.16.0 # via httpcore h2==4.3.0 # via httpx hpack==4.1.0 # via h2 -httpcore==0.16.3 +httpcore==1.0.9 # via httpx -httpx[http2]==0.23.3 +httpx[http2]==0.28.1 # via microsoft-kiota-http hyperframe==6.1.0 # via h2 -idna==3.7 +idna==3.13 # via # anyio - # rfc3986 -importlib-metadata==6.8.0 + # httpx +importlib-metadata==8.7.1 # via opentelemetry-api -microsoft-kiota-abstractions==1.4.6 +microsoft-kiota-abstractions==1.10.1 # via # -r requirements.in # microsoft-kiota-http # microsoft-kiota-serialization-json # microsoft-kiota-serialization-text -microsoft-kiota-http==1.4.6 +microsoft-kiota-http==1.10.1 # via -r requirements.in -microsoft-kiota-serialization-json==1.4.6 +microsoft-kiota-serialization-json==1.10.1 # via -r requirements.in -microsoft-kiota-serialization-text==1.4.6 +microsoft-kiota-serialization-text==1.10.1 # via -r requirements.in -opentelemetry-api==1.27.0 +opentelemetry-api==1.41.1 # via # microsoft-kiota-abstractions # microsoft-kiota-http # opentelemetry-sdk # opentelemetry-semantic-conventions -opentelemetry-sdk==1.27.0 +opentelemetry-sdk==1.41.1 # via # microsoft-kiota-abstractions # microsoft-kiota-http -opentelemetry-semantic-conventions==0.48b0 +opentelemetry-semantic-conventions==0.62b1 # via opentelemetry-sdk -pendulum==3.0.0 - # via microsoft-kiota-serialization-json -python-dateutil==2.9.0.post0 - # via - # microsoft-kiota-serialization-text - # pendulum - # time-machine -rfc3986[idna2008]==1.5.0 - # via httpx -six==1.16.0 - # via python-dateutil -sniffio==1.3.0 +std-uritemplate==2.0.8 + # via microsoft-kiota-abstractions +typing-extensions==4.15.0 # via # anyio - # httpcore - # httpx -std-uritemplate==0.0.40 - # via microsoft-kiota-abstractions -time-machine==2.13.0 - # via pendulum -typing-extensions==4.7.1 - # via opentelemetry-sdk -tzdata==2023.4 - # via pendulum -urllib3==2.6.3 - # via microsoft-kiota-http -wrapt==1.15.0 - # via deprecated -zipp==3.19.1 + # opentelemetry-api + # opentelemetry-sdk + # opentelemetry-semantic-conventions +zipp==3.23.1 # via importlib-metadata diff --git a/get-started/quickstart/typescript/client/kiota-lock.json b/get-started/quickstart/typescript/client/kiota-lock.json index b3b1da8990..c0237f9787 100644 --- a/get-started/quickstart/typescript/client/kiota-lock.json +++ b/get-started/quickstart/typescript/client/kiota-lock.json @@ -1,8 +1,8 @@ { - "descriptionHash": "498C44F445211C4DF10B9071A659A08AE44A8598479EAD4F6734B2EDCC724BD5138BA3E5A28BB427641F97EB6D82CF2C8D59D9FD9FC1C8DCCE57EF42CFB73550", + "descriptionHash": "3D1C6FB9CA7B5A33CA719AD77C107D7C46F924550C04C9E0441A195B5427DECD828031168E2F9DF015D122A2862119704C861BB71B697A2D3B712C0388E5C61F", "descriptionLocation": "../../posts-api.yml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.29.0", + "kiotaVersion": "1.31.1", "clientClassName": "PostsClient", "typeAccessModifier": "Public", "clientNamespaceName": "ApiSdk", diff --git a/get-started/quickstart/typescript/package-lock.json b/get-started/quickstart/typescript/package-lock.json index ba3ee198ae..3571cd2799 100644 --- a/get-started/quickstart/typescript/package-lock.json +++ b/get-started/quickstart/typescript/package-lock.json @@ -12,7 +12,6 @@ "@microsoft/kiota-bundle": "^1.0.0-preview.100" }, "devDependencies": { - "@tsconfig/node20": "^20.1.9", "@types/node": "^25.6.0", "typescript": "^6.0.3" }, @@ -112,13 +111,6 @@ "integrity": "sha512-8oj7jKksoTRxjdPkWKX9FyOKDS8ORBm+ZfTSHm0f3eYha8cI0O1d57gyduOIAX7Y2uUukNDNlxlvGb+FFkE7yQ==", "license": "Apache-2.0" }, - "node_modules/@tsconfig/node20": { - "version": "20.1.9", - "resolved": "https://registry.npmjs.org/@tsconfig/node20/-/node20-20.1.9.tgz", - "integrity": "sha512-IjlTv1RsvnPtUcjTqtVsZExKVq+KQx4g5pCP5tI7rAs6Xesl2qFwSz/tPDBC4JajkL/MlezBu3gPUwqRHl+RIg==", - "dev": true, - "license": "MIT" - }, "node_modules/@types/node": { "version": "25.6.0", "resolved": "https://registry.npmjs.org/@types/node/-/node-25.6.0.tgz", diff --git a/get-started/quickstart/typescript/package.json b/get-started/quickstart/typescript/package.json index fb7921e3eb..4c4f3725c3 100644 --- a/get-started/quickstart/typescript/package.json +++ b/get-started/quickstart/typescript/package.json @@ -14,7 +14,6 @@ "author": "", "license": "MIT", "devDependencies": { - "@tsconfig/node20": "^20.1.9", "@types/node": "^25.6.0", "typescript": "^6.0.3" }, @@ -22,4 +21,4 @@ "@microsoft/kiota-bundle": "^1.0.0-preview.100" }, "type": "module" -} \ No newline at end of file +} diff --git a/get-started/quickstart/typescript/tsconfig.json b/get-started/quickstart/typescript/tsconfig.json index a9583b4b8d..aedacfb82c 100644 --- a/get-started/quickstart/typescript/tsconfig.json +++ b/get-started/quickstart/typescript/tsconfig.json @@ -1,5 +1,4 @@ { - "extends": "@tsconfig/node20/tsconfig.json", "compilerOptions": { /* Visit https://aka.ms/tsconfig.json to read more about this file */ diff --git a/msgraph-mail/java/gradlew.bat b/msgraph-mail/java/gradlew.bat index e509b2dd8f..c4bdd3ab8e 100755 --- a/msgraph-mail/java/gradlew.bat +++ b/msgraph-mail/java/gradlew.bat @@ -1,93 +1,93 @@ -@rem -@rem Copyright 2015 the original author or authors. -@rem -@rem Licensed under the Apache License, Version 2.0 (the "License"); -@rem you may not use this file except in compliance with the License. -@rem You may obtain a copy of the License at -@rem -@rem https://www.apache.org/licenses/LICENSE-2.0 -@rem -@rem Unless required by applicable law or agreed to in writing, software -@rem distributed under the License is distributed on an "AS IS" BASIS, -@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -@rem See the License for the specific language governing permissions and -@rem limitations under the License. -@rem -@rem SPDX-License-Identifier: Apache-2.0 -@rem - -@if "%DEBUG%"=="" @echo off -@rem ########################################################################## -@rem -@rem Gradle startup script for Windows -@rem -@rem ########################################################################## - -@rem Set local scope for the variables with windows NT shell -if "%OS%"=="Windows_NT" setlocal - -set DIRNAME=%~dp0 -if "%DIRNAME%"=="" set DIRNAME=. -@rem This is normally unused -set APP_BASE_NAME=%~n0 -set APP_HOME=%DIRNAME% - -@rem Resolve any "." and ".." in APP_HOME to make it shorter. -for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi - -@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" - -@rem Find java.exe -if defined JAVA_HOME goto findJavaFromJavaHome - -set JAVA_EXE=java.exe -%JAVA_EXE% -version >NUL 2>&1 -if %ERRORLEVEL% equ 0 goto execute - -echo. 1>&2 -echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2 -echo. 1>&2 -echo Please set the JAVA_HOME variable in your environment to match the 1>&2 -echo location of your Java installation. 1>&2 - -goto fail - -:findJavaFromJavaHome -set JAVA_HOME=%JAVA_HOME:"=% -set JAVA_EXE=%JAVA_HOME%/bin/java.exe - -if exist "%JAVA_EXE%" goto execute - -echo. 1>&2 -echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2 -echo. 1>&2 -echo Please set the JAVA_HOME variable in your environment to match the 1>&2 -echo location of your Java installation. 1>&2 - -goto fail - -:execute -@rem Setup the command line - - - -@rem Execute Gradle -"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %* - -:end -@rem End local scope for the variables with windows NT shell -if %ERRORLEVEL% equ 0 goto mainEnd - -:fail -rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of -rem the _cmd.exe /c_ return code! -set EXIT_CODE=%ERRORLEVEL% -if %EXIT_CODE% equ 0 set EXIT_CODE=1 -if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE% -exit /b %EXIT_CODE% - -:mainEnd -if "%OS%"=="Windows_NT" endlocal - -:omega +@rem +@rem Copyright 2015 the original author or authors. +@rem +@rem Licensed under the Apache License, Version 2.0 (the "License"); +@rem you may not use this file except in compliance with the License. +@rem You may obtain a copy of the License at +@rem +@rem https://www.apache.org/licenses/LICENSE-2.0 +@rem +@rem Unless required by applicable law or agreed to in writing, software +@rem distributed under the License is distributed on an "AS IS" BASIS, +@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +@rem See the License for the specific language governing permissions and +@rem limitations under the License. +@rem +@rem SPDX-License-Identifier: Apache-2.0 +@rem + +@if "%DEBUG%"=="" @echo off +@rem ########################################################################## +@rem +@rem Gradle startup script for Windows +@rem +@rem ########################################################################## + +@rem Set local scope for the variables with windows NT shell +if "%OS%"=="Windows_NT" setlocal + +set DIRNAME=%~dp0 +if "%DIRNAME%"=="" set DIRNAME=. +@rem This is normally unused +set APP_BASE_NAME=%~n0 +set APP_HOME=%DIRNAME% + +@rem Resolve any "." and ".." in APP_HOME to make it shorter. +for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi + +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" + +@rem Find java.exe +if defined JAVA_HOME goto findJavaFromJavaHome + +set JAVA_EXE=java.exe +%JAVA_EXE% -version >NUL 2>&1 +if %ERRORLEVEL% equ 0 goto execute + +echo. 1>&2 +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2 +echo. 1>&2 +echo Please set the JAVA_HOME variable in your environment to match the 1>&2 +echo location of your Java installation. 1>&2 + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto execute + +echo. 1>&2 +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2 +echo. 1>&2 +echo Please set the JAVA_HOME variable in your environment to match the 1>&2 +echo location of your Java installation. 1>&2 + +goto fail + +:execute +@rem Setup the command line + + + +@rem Execute Gradle +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %* + +:end +@rem End local scope for the variables with windows NT shell +if %ERRORLEVEL% equ 0 goto mainEnd + +:fail +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of +rem the _cmd.exe /c_ return code! +set EXIT_CODE=%ERRORLEVEL% +if %EXIT_CODE% equ 0 set EXIT_CODE=1 +if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE% +exit /b %EXIT_CODE% + +:mainEnd +if "%OS%"=="Windows_NT" endlocal + +:omega diff --git a/petstore/java/gradlew.bat b/petstore/java/gradlew.bat index e509b2dd8f..c4bdd3ab8e 100755 --- a/petstore/java/gradlew.bat +++ b/petstore/java/gradlew.bat @@ -1,93 +1,93 @@ -@rem -@rem Copyright 2015 the original author or authors. -@rem -@rem Licensed under the Apache License, Version 2.0 (the "License"); -@rem you may not use this file except in compliance with the License. -@rem You may obtain a copy of the License at -@rem -@rem https://www.apache.org/licenses/LICENSE-2.0 -@rem -@rem Unless required by applicable law or agreed to in writing, software -@rem distributed under the License is distributed on an "AS IS" BASIS, -@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -@rem See the License for the specific language governing permissions and -@rem limitations under the License. -@rem -@rem SPDX-License-Identifier: Apache-2.0 -@rem - -@if "%DEBUG%"=="" @echo off -@rem ########################################################################## -@rem -@rem Gradle startup script for Windows -@rem -@rem ########################################################################## - -@rem Set local scope for the variables with windows NT shell -if "%OS%"=="Windows_NT" setlocal - -set DIRNAME=%~dp0 -if "%DIRNAME%"=="" set DIRNAME=. -@rem This is normally unused -set APP_BASE_NAME=%~n0 -set APP_HOME=%DIRNAME% - -@rem Resolve any "." and ".." in APP_HOME to make it shorter. -for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi - -@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" - -@rem Find java.exe -if defined JAVA_HOME goto findJavaFromJavaHome - -set JAVA_EXE=java.exe -%JAVA_EXE% -version >NUL 2>&1 -if %ERRORLEVEL% equ 0 goto execute - -echo. 1>&2 -echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2 -echo. 1>&2 -echo Please set the JAVA_HOME variable in your environment to match the 1>&2 -echo location of your Java installation. 1>&2 - -goto fail - -:findJavaFromJavaHome -set JAVA_HOME=%JAVA_HOME:"=% -set JAVA_EXE=%JAVA_HOME%/bin/java.exe - -if exist "%JAVA_EXE%" goto execute - -echo. 1>&2 -echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2 -echo. 1>&2 -echo Please set the JAVA_HOME variable in your environment to match the 1>&2 -echo location of your Java installation. 1>&2 - -goto fail - -:execute -@rem Setup the command line - - - -@rem Execute Gradle -"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %* - -:end -@rem End local scope for the variables with windows NT shell -if %ERRORLEVEL% equ 0 goto mainEnd - -:fail -rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of -rem the _cmd.exe /c_ return code! -set EXIT_CODE=%ERRORLEVEL% -if %EXIT_CODE% equ 0 set EXIT_CODE=1 -if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE% -exit /b %EXIT_CODE% - -:mainEnd -if "%OS%"=="Windows_NT" endlocal - -:omega +@rem +@rem Copyright 2015 the original author or authors. +@rem +@rem Licensed under the Apache License, Version 2.0 (the "License"); +@rem you may not use this file except in compliance with the License. +@rem You may obtain a copy of the License at +@rem +@rem https://www.apache.org/licenses/LICENSE-2.0 +@rem +@rem Unless required by applicable law or agreed to in writing, software +@rem distributed under the License is distributed on an "AS IS" BASIS, +@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +@rem See the License for the specific language governing permissions and +@rem limitations under the License. +@rem +@rem SPDX-License-Identifier: Apache-2.0 +@rem + +@if "%DEBUG%"=="" @echo off +@rem ########################################################################## +@rem +@rem Gradle startup script for Windows +@rem +@rem ########################################################################## + +@rem Set local scope for the variables with windows NT shell +if "%OS%"=="Windows_NT" setlocal + +set DIRNAME=%~dp0 +if "%DIRNAME%"=="" set DIRNAME=. +@rem This is normally unused +set APP_BASE_NAME=%~n0 +set APP_HOME=%DIRNAME% + +@rem Resolve any "." and ".." in APP_HOME to make it shorter. +for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi + +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" + +@rem Find java.exe +if defined JAVA_HOME goto findJavaFromJavaHome + +set JAVA_EXE=java.exe +%JAVA_EXE% -version >NUL 2>&1 +if %ERRORLEVEL% equ 0 goto execute + +echo. 1>&2 +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2 +echo. 1>&2 +echo Please set the JAVA_HOME variable in your environment to match the 1>&2 +echo location of your Java installation. 1>&2 + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto execute + +echo. 1>&2 +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2 +echo. 1>&2 +echo Please set the JAVA_HOME variable in your environment to match the 1>&2 +echo location of your Java installation. 1>&2 + +goto fail + +:execute +@rem Setup the command line + + + +@rem Execute Gradle +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %* + +:end +@rem End local scope for the variables with windows NT shell +if %ERRORLEVEL% equ 0 goto mainEnd + +:fail +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of +rem the _cmd.exe /c_ return code! +set EXIT_CODE=%ERRORLEVEL% +if %EXIT_CODE% equ 0 set EXIT_CODE=1 +if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE% +exit /b %EXIT_CODE% + +:mainEnd +if "%OS%"=="Windows_NT" endlocal + +:omega diff --git a/sample-api/clients/java/gradlew.bat b/sample-api/clients/java/gradlew.bat index e509b2dd8f..c4bdd3ab8e 100755 --- a/sample-api/clients/java/gradlew.bat +++ b/sample-api/clients/java/gradlew.bat @@ -1,93 +1,93 @@ -@rem -@rem Copyright 2015 the original author or authors. -@rem -@rem Licensed under the Apache License, Version 2.0 (the "License"); -@rem you may not use this file except in compliance with the License. -@rem You may obtain a copy of the License at -@rem -@rem https://www.apache.org/licenses/LICENSE-2.0 -@rem -@rem Unless required by applicable law or agreed to in writing, software -@rem distributed under the License is distributed on an "AS IS" BASIS, -@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -@rem See the License for the specific language governing permissions and -@rem limitations under the License. -@rem -@rem SPDX-License-Identifier: Apache-2.0 -@rem - -@if "%DEBUG%"=="" @echo off -@rem ########################################################################## -@rem -@rem Gradle startup script for Windows -@rem -@rem ########################################################################## - -@rem Set local scope for the variables with windows NT shell -if "%OS%"=="Windows_NT" setlocal - -set DIRNAME=%~dp0 -if "%DIRNAME%"=="" set DIRNAME=. -@rem This is normally unused -set APP_BASE_NAME=%~n0 -set APP_HOME=%DIRNAME% - -@rem Resolve any "." and ".." in APP_HOME to make it shorter. -for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi - -@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" - -@rem Find java.exe -if defined JAVA_HOME goto findJavaFromJavaHome - -set JAVA_EXE=java.exe -%JAVA_EXE% -version >NUL 2>&1 -if %ERRORLEVEL% equ 0 goto execute - -echo. 1>&2 -echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2 -echo. 1>&2 -echo Please set the JAVA_HOME variable in your environment to match the 1>&2 -echo location of your Java installation. 1>&2 - -goto fail - -:findJavaFromJavaHome -set JAVA_HOME=%JAVA_HOME:"=% -set JAVA_EXE=%JAVA_HOME%/bin/java.exe - -if exist "%JAVA_EXE%" goto execute - -echo. 1>&2 -echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2 -echo. 1>&2 -echo Please set the JAVA_HOME variable in your environment to match the 1>&2 -echo location of your Java installation. 1>&2 - -goto fail - -:execute -@rem Setup the command line - - - -@rem Execute Gradle -"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %* - -:end -@rem End local scope for the variables with windows NT shell -if %ERRORLEVEL% equ 0 goto mainEnd - -:fail -rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of -rem the _cmd.exe /c_ return code! -set EXIT_CODE=%ERRORLEVEL% -if %EXIT_CODE% equ 0 set EXIT_CODE=1 -if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE% -exit /b %EXIT_CODE% - -:mainEnd -if "%OS%"=="Windows_NT" endlocal - -:omega +@rem +@rem Copyright 2015 the original author or authors. +@rem +@rem Licensed under the Apache License, Version 2.0 (the "License"); +@rem you may not use this file except in compliance with the License. +@rem You may obtain a copy of the License at +@rem +@rem https://www.apache.org/licenses/LICENSE-2.0 +@rem +@rem Unless required by applicable law or agreed to in writing, software +@rem distributed under the License is distributed on an "AS IS" BASIS, +@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +@rem See the License for the specific language governing permissions and +@rem limitations under the License. +@rem +@rem SPDX-License-Identifier: Apache-2.0 +@rem + +@if "%DEBUG%"=="" @echo off +@rem ########################################################################## +@rem +@rem Gradle startup script for Windows +@rem +@rem ########################################################################## + +@rem Set local scope for the variables with windows NT shell +if "%OS%"=="Windows_NT" setlocal + +set DIRNAME=%~dp0 +if "%DIRNAME%"=="" set DIRNAME=. +@rem This is normally unused +set APP_BASE_NAME=%~n0 +set APP_HOME=%DIRNAME% + +@rem Resolve any "." and ".." in APP_HOME to make it shorter. +for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi + +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" + +@rem Find java.exe +if defined JAVA_HOME goto findJavaFromJavaHome + +set JAVA_EXE=java.exe +%JAVA_EXE% -version >NUL 2>&1 +if %ERRORLEVEL% equ 0 goto execute + +echo. 1>&2 +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2 +echo. 1>&2 +echo Please set the JAVA_HOME variable in your environment to match the 1>&2 +echo location of your Java installation. 1>&2 + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto execute + +echo. 1>&2 +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2 +echo. 1>&2 +echo Please set the JAVA_HOME variable in your environment to match the 1>&2 +echo location of your Java installation. 1>&2 + +goto fail + +:execute +@rem Setup the command line + + + +@rem Execute Gradle +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %* + +:end +@rem End local scope for the variables with windows NT shell +if %ERRORLEVEL% equ 0 goto mainEnd + +:fail +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of +rem the _cmd.exe /c_ return code! +set EXIT_CODE=%ERRORLEVEL% +if %EXIT_CODE% equ 0 set EXIT_CODE=1 +if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE% +exit /b %EXIT_CODE% + +:mainEnd +if "%OS%"=="Windows_NT" endlocal + +:omega