* 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>
* 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>
* - 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>