Граф коммитов

44 Коммитов

Автор SHA1 Сообщение Дата
silaskenneth b031a570f7
Remove suppressions and update composer dependency versions. 2024-04-09 16:49:03 +03:00
Andrew Omondi 0f81eaa3b2 Adds CI for intergration tests. 2024-02-28 23:15:02 +03:00
Andrew Omondi 91057fc512 Adds supressions for intergration tests 2024-02-28 12:56:13 +03:00
Andrea Peruffo 8759fb17ed tests 2024-02-19 14:16:12 +00:00
Andrew Omondi 3a08a7bf59 Cleanup tests 2024-01-23 20:18:12 +03:00
Andrea Peruffo 7cc0d17520 [Java] Reflection free extraction of query parameters 2024-01-10 16:57:07 +00:00
Vincent Biret 3c7414ee47
- updates suppression for go integration test 2023-10-05 13:37:47 -04:00
Philip Gichuhi 2cb185d69a Remove Stripe idempotency suppression for PHP 2023-10-04 18:02:18 +03:00
Philip Gichuhi c9473ba210 Update suppression issues for PHP 2023-10-04 18:01:36 +03:00
ramsessanchez ae90882397 remove java from integration test suppression list for dev.pipedrive 2023-10-02 10:18:33 -07:00
Vincent Biret c267b2cb73
- removes idempotency suppression for strip
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
2023-09-28 14:43:16 -04:00
Vincent Biret c94b76e08c
- fixes race condition with composed type generation
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
2023-09-21 14:16:28 -04:00
Vincent Biret f8fd487208
- restores suppressions for idempotency when integrations are suppressed
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
2023-09-21 09:22:06 -04:00
Vincent Biret f75526b766
- removes suppressions from integration files 2023-09-21 09:22:06 -04:00
Vincent Biret 90f3ed52d4
- adds python to strip suppressions
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
2023-08-23 13:02:25 -04:00
Vincent Biret 2425aa81cc
- adds missing suppression for ruby
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
2023-08-23 11:11:33 -04:00
Vincent Biret ec5740c5a9
- adds a suppression mechanism for idempotency 2023-08-23 09:54:48 -04:00
Vincent Biret 4b965cc676
- adds suppressions for multipart body for php and python
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
2023-08-02 14:11:22 -04:00
Vincent Biret 9b4750bb22
- adds missing suppressions for strip API
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
2023-07-20 10:11:58 -04:00
Vincent Biret ee08c83340
- removes enum suppression from integration tests 2023-07-20 09:48:21 -04:00
Philip Gichuhi 165088cf59 Update developers.pipedrive.com integration test suppressions 2023-07-19 12:57:56 +03:00
Philip Gichuhi 288e8e6898 Remove PHP integration test suppressions 2023-06-30 12:54:36 +03:00
Andrew Omondi 15906a7cbb
Drop supressions as issues fixed in CSharp 2023-06-21 11:12:09 +03:00
Vincent Biret dc9ac78fee
- removes python suppressions following progress 2023-06-19 09:44:22 -04:00
Ronald K aa82c8d450
Fix unused imports when generating composite models (#2699)
* Fix unused imports when generating composite models

* Remove go it suppression

* Filter to only external usings

* Update CHANGELOG
2023-05-24 18:07:28 +03:00
samwelkanda afc0e255f2 Remove python suppression for inheriting errors 2023-04-25 16:47:21 +03:00
Silas Kenneth 054ae68515 Reorder refiners. 2023-04-05 17:38:35 +03:00
Vincent Biret 817c3cc3d9
- updates suppressions that are language specific
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
2023-04-04 16:27:58 -04:00
Vincent Biret 3420e1367c
- fixes a bug for inline type sanitazation
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
2023-04-04 16:05:59 -04:00
Vincent Biret c90a7df4c7
Merge pull request #2516 from andreaTP/check-2353
chore - re-enable a Go IT test
2023-04-04 15:19:16 -04:00
Andrea Peruffo 96728b7122 Normalize property names ignoring casing 2023-04-04 17:33:47 +01:00
Andrea Peruffo a81785afac chore - re-enable a Go IT test 2023-04-04 15:13:03 +01:00
Andrea Peruffo 5bd6b67630 add a python exclusion 2023-03-30 18:34:40 +01:00
Andrea Peruffo 0122564948 add suppressions for it tests 2023-03-30 18:34:40 +01:00
Andrea Peruffo dc3980d79b use kiota search to download APIs 2023-03-30 18:34:40 +01:00
Andrea Peruffo a3ada19dff tighten up 2023-03-30 18:34:40 +01:00
Samwel K a9a0dd191c
Task/python imports refactor (#2379)
* Add python relative import manager

* Add a codeusingwriter for python

* Add option to include parent namespace when adding discriminator mapping usings

* Call method to add discriminator mapping usings to parent classes

* Add type checking import

* Remove lazy import using

* Update class declaration writer

* Update property writer to add local imports for request builders with no parameters

* Add logic to write discriminator method body

* Write local imports in indexers and request builders with parameters

* Add deferred imports for request executors and deserializers

* Use snake case to match variable name passed to request builder

* Update python writer with missing parameters

* Add incluparentnamespace parameter when crawling tree

* Add code class declaration writer tests

* Add property writer tests

* Add codemethodwriter tests

* Fix formatting issues

* Update method writer tests

* Add codeusing writer tests

* Fix formatting

* Add changelog entry

* Add type annotation for discriminator fields variable

* Update test

* Fix fields type hint

* Bump test coverage in classdeclarationwriter

* Add python code element order comparer

* Add code renderer for python

* Write methods before properties

* Add python element comparer tests

* Fix formatting

* Update CHANGELOG

* Remove suppressions for passing it tests

* Apply suggestions from code review

---------

Co-authored-by: Vincent Biret <vibiret@microsoft.com>
2023-03-22 13:50:03 +00:00
Andrea Peruffo 90de266294
Add a built-in dev mode to generate-code script (#2420)
* Add a built-in dev mode to generate-code script

* Apply suggestions from code review

* use exe on windows

* install wasm-tools workload

* test in CI

* fix type name for union types

* to be cleaned but working

* final fix of enums

* fix enum serdes writer

* fix ruby

* fix 2351 for Go

* fix ruby again

* revert GoRefiner changes for now

* cleanup revert testing changes

* always normalize the top level type name

* Fix Go inheritance issue while inlining errors

* changelog

* verify the fix

* Atest in CI

* exclude php and python

* cleanup

* non regexp string normalization

* Apply suggestions from code review

---------

Co-authored-by: Vincent Biret <vibiret@microsoft.com>
2023-03-21 08:43:30 -04:00
Andrea Peruffo f6d22095bb
Java - Normalize CodeIndexer return types and errorMappings' types (#2412)
* Java - Normalize CodeIndexer ReturnType

* changelog

* fix 2411

* fix the import for php and csharp

* fix errorMappings normalization
2023-03-15 18:26:43 +00:00
Vincent Biret 9864d3c690
Merge pull request #2387 from microsoft/feature/azure-ci-updates
feature/azure ci updates
2023-03-13 02:35:47 -04:00
Vincent Biret 5cc002ac20
- maps to new suppressions
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
2023-03-10 13:24:37 -05:00
Vincent Biret 621f5a566e
- removes suppressions for boolean enums
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
2023-03-10 13:03:21 -05:00
Vincent Biret 7b0c2642ee
- fixes link to twilio description
Signed-off-by: Vincent Biret <vibiret@microsoft.com>
2023-03-10 10:58:08 -05:00
Vincent Biret 212ca70904
feature/smoke tests (#2337)
* - makes kiota builder trimmable

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - moves integration tests outside of main workflow

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - formatting fixes

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - adds chmod for kiota

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - fixes path to kiota command

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - uses type info for configuration serialization

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - replaces configuration binding by trimmable equivalent

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - fixes formatting

* - adds a configuration file to exclude problematic api paths

* - adds a script to get the additional commands

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - fixes the set additional command step

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - switches to output variable instead

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - another attempt at fixing generate integration tests

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - adds missing quotes

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - adds a CSharp integration test

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - groups all languages and descriptions in a single matrix

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - adds missing language argument

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - fixes artifact name build

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - fixes path management

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - fixes command generation

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - always runs replace url step

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - fixes naming regex

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - adds go support

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - adds missing fo steps

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - fixes go integration test

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - fixes go integration tests NS
- fixes go version
- fixes rm script for csharp integration

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - another attempt at fixing go integration tests

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - adds missing import for format

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - adds typescript integration testing

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - fixes setup node step

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - removes node modules for typescript

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - adds missing shell type

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - 🤦‍♂️

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - fixes configuration for github api

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - adds ruby integration tests

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - removes gemfile lock

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - multiple fixes to ruby integration tests

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - additional set of fixes for ruby integration tests

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - ruby api client path fix

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - typo 🤦‍♂️

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - removes ruby lock
- bumps go setup version

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - disables rubocops we don't care about

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - disables another set of rubocops

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - last batch of rubocops disablement

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - adds suppression capability for integration tests

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - adds a temporary test step

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - attempt to fix a casing issue for the condition

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - uses the environment variable

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - adds missing suppressions

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - adds php to the integration tests

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - fixes php integration project

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - because php is picky on quotes

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - fixes suppression rule

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - additional suppressions for PHP integration tests

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - adds python project

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - fixes import for API client

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - fixes missing dependencies for python

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - disables line too long for python

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - suppressed import rules in python

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - moves mypy configuration to correct file

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - suppresses all missing imports

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - adds additional suppressions

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - adds additional API descriptions to integration tests

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - adds a cleanup step for the generator bits

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - fixes overflow exception

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - fixes a bug where union type conversion could conflict with parent class property

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - adds additional suppressions

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - additional exclusions

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - fixes encoding

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - removes suppression thanks to fix

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - additional suppressions

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - additional suppressions

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - additional suppressions

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - moves php suppression to the right place

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* - adds suppressions for python

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

* Update src/Kiota.Builder/SearchProviders/GitHub/GitHubSearchProvider.cs

Co-authored-by: Eastman <andrueastman@users.noreply.github.com>

* - fixes async usage for JSON lib

Signed-off-by: Vincent Biret <vibiret@microsoft.com>

---------

Signed-off-by: Vincent Biret <vibiret@microsoft.com>
Co-authored-by: Eastman <andrueastman@users.noreply.github.com>
2023-03-09 18:31:59 +02:00