kiota

OpenAPI based HTTP Client code generator

MIT License

Downloads
7.8M
Stars
2.3K
Committers
106

Bot releases are visible (Hide)

kiota - v1.6.0

Published by baywet about 1 year ago

NOTE: this release failed for every platform other than docker. We addressed the pipeline failure and it'll become shortly available to every platform under version 1.6.1.

Added

  • Added support for raw URL in the fluent API surface in CSharp, Go, Java, PHP, Python, Ruby, TypeScript. #3199
  • Added support for external documentation links within descriptions in Python. #2041
  • Added support for API manifests. #3104
  • Added support for reserved path parameters. #2320
  • Added support for csv enum values in enums using a mask in Go.
  • Added support for x-ms-enum-flags extension in Generator to enable generation of bitwise(flagged) enum values#3237.
  • Added support for mapping primary error messages in CSharp, Go, Java, and TypeScript. #3066

Changed

  • Fixed an issue where dependencies would not show up for any other language than CSharp in the vscode extension. #3226
  • Multiple fixes to guarantee idempotency of subsequent runs. #2442
  • Fixed issue with generating classes with Aliases(PHP)microsoftgraph/msgraph-beta-sdk-php#197
  • Flattens the models namespaces in Ruby to avoid circular dependencies.
  • Adds ObjectId as a reserved keyword in Ruby to have memory management issues.
  • Replace Javax annotations in favor of Jakarta annotations for Java code generation. #2810
  • RequestExecuters call overload methods reducing code generation size for Java. #3150
  • Remove URISyntaxException from Java generated RequestExecutors and RequestGenerators. #3149
  • Adds 'Generated' annotation to generated Enums and Classes for Java. #3106
  • Fixes uuid conversion to string value in PathParameters in Go. #3106
  • Fixes a bug with incorrect reserved models renaming that occurs sometimes depending on the order of type processing microsoftgraph/msgraph-sdk-dotnet/issues/2084
  • Work around a System.ComandLine bug where adjacent matching command names would crash the CLI parser (CLI). microsoftgraph/msgraph-cli#316 microsoftgraph/msgraph-cli#320, dotnet/command-line-api#2260
  • Aggregate typescript import statements by source #3232
  • Fixes a bug in dotnet where enums types would not be fully disambiguated when initialized in constructor with default values and existing conflicting property exists [#3233]
  • Fixes a bug in generation of flagged enum properties and their serializer/deserializer functions in typescript [https://github.com/microsoft/kiota/issues/3260]
  • Fixes missing EnumSet types in method parameter and return types in Java [https://github.com/microsoft/kiota/issues/3272]
kiota - v1.6.0-preview.202309070001

Published by baywet about 1 year ago

Added

  • Added support for raw URL in the fluent API surface in CSharp, Go, Java, PHP, Python, Ruby, TypeScript. #3199
  • Added support for external documentation links within descriptions in Python. #2041
  • Added support for API manifests. #3104
  • Added support for reserved path parameters. #2320
  • Added support for csv enum values in enums using a mask in Go.
  • Added support for x-ms-enum-flags extension in Generator to enable generation of bitwise(flagged) enum values#3237.

Changed

  • Fixed an issue where dependencies would not show up for any other language than CSharp in the vscode extension. #3226
  • Multiple fixes to guarantee idempotency of subsequent runs. #2442
  • Fixed issue with generating classes with Aliases(PHP)microsoftgraph/msgraph-beta-sdk-php#197
  • Flattens the models namespaces in Ruby to avoid circular dependencies.
  • Adds ObjectId as a reserved keyword in Ruby to have memory management issues.
  • Replace Javax annotations in favor of Jakarta annotations for Java code generation. #2810
  • RequestExecuters call overload methods reducing code generation size for Java. #3150
  • Remove URISyntaxException from Java generated RequestExecutors and RequestGenerators. #3149
  • Adds 'Generated' annotation to generated Enums and Classes for Java. #3106
  • Fixes uuid conversion to string value in PathParameters in Go. #3106
  • Fixes a bug with incorrect reserved models renaming that occurs sometimes depending on the order of type processing microsoftgraph/msgraph-sdk-dotnet/issues/2084
  • Work around a System.ComandLine bug where adjacent matching command names would crash the CLI parser (CLI). microsoftgraph/msgraph-cli#316 microsoftgraph/msgraph-cli#320, dotnet/command-line-api#2260
  • Aggregate typescript import statements by source #3232
  • Fixes a bug in dotnet where enums types would not be fully disambiguated when initialized in constructor with default values and existing conflicting property exists [#3233]
  • Fixes a bug in generation of flagged enum properties and their serializer/deserializer functions in typescript [https://github.com/microsoft/kiota/issues/3260
kiota - v1.6.0-preview.202308310001

Published by baywet about 1 year ago

Added

  • Added support for raw URL in the fluent API surface in CSharp, Go, Java, PHP, Python, Ruby, TypeScript. #3199
  • Added support for external documentation links within descriptions in Python. #2041
  • Added support for API manifests. #3104
  • Added support for reserved path parameters. #2320
  • Added support for csv values in enums using a mask.

Changed

  • Fixed an issue where dependencies would not show up for any other language than CSharp in the vscode extension. #3226
  • Multiple fixes to guarantee idempotency of subsequent runs. #2442
  • Fixed issue with generating classes with Aliases(PHP)microsoftgraph/msgraph-beta-sdk-php#197
  • Flattens the models namespaces in Ruby to avoid circular dependencies.
  • Adds ObjectId as a reserved keyword in Ruby to have memory management issues.
  • Replace Javax annotations in favor of Jakarta annotations for Java code generation. #2810
  • RequestExecuters call overload methods reducing code generation size for Java. #3150
  • Remove URISyntaxException from Java generated RequestExecutors and RequestGenerators. #3149
  • Adds 'Generated' annotation to generated Enums and Classes for Java. #3106
  • Fixes uuid conversion to string value in PathParameters in Go. #3106
  • Fixes a bug with incorrect reserved models renaming that occurs sometimes depending on the order of type processing microsoftgraph/msgraph-sdk-dotnet/issues/2084
  • Work around a System.ComandLine bug where adjacent matching command names would crash the CLI parser (CLI). microsoftgraph/msgraph-cli#316 microsoftgraph/msgraph-cli#320, dotnet/command-line-api#2260
  • Fixes a bug in dotnet where enums types would not be fully disambiguated when initialized in constructor with default values and existing conflicting property exists [#3233
kiota - v1.6.0-preview.202308240001

Published by baywet about 1 year ago

Added

  • Added support for external documentation links within descriptions in Python. #2041
  • Added support for API manifests. #3104

Changed

  • Multiple fixes to guarantee idempotency of subsequent runs. #2442
  • Fix issue with generating classes with Aliases(PHP)microsoftgraph/msgraph-beta-sdk-php#197
  • Flattens the models namespaces in Ruby to avoid circular dependencies.
  • Adds ObjectId as a reserved keyword in Ruby to have memory management issues.
  • Replace Javax annotations in favor of Jakarta annotations for Java code generation. #2810
  • RequestExecuters call overload methods reducing code generation size for Java. #3150
  • Remove URISyntaxException from Java generated RequestExecutors and RequestGenerators. #3149
  • Adds 'Generated' annotation to generated Enums and Classes for Java. #3106
  • Fixes uuid conversion to string value in PathParameters in Go. #3106
  • Fixes a bug with incorrect reserved models renaming that occurs sometimes depending on the order of type processing [microsoftgraph/msgraph-sdk-dotnet/issues/2084](https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues/2084
kiota - v1.5.1

Published by baywet about 1 year ago

Added

  • Added backing store support for Python. #2858
  • Added support for indexer parameter description. #2978

Changed

kiota - v1.5.0

Published by baywet about 1 year ago

Added

  • Added the title of the API in the VSCode tree view. #2779
  • Added capability to serialize and deserialize UUIDs in typescript#40
  • Added auto-generation header comment for class and enums in CSharp #2886
  • Added support for multipart form data request body in CSharp, Go, Java, and TypeScript. #220
  • Added support for base64 encoded properties in TypeScript.
  • Added support for type specific (non string) indexers parameters. #2594

Changed

  • Fixed missing type comments in many cases. #2868
  • Fixed a bug where duplicate enum entries in the description would lead to duplicate members. #2352
  • Sunset app.kiota.dev in favour of the VSCode extension. #2934
  • Use schematized types for 206 response codes instead of binary. #2880
  • Type names are not changed to first char upper case in comments in some cases.
  • Fixed a bug where the show command would display an upgrade warning.
  • Updated getEnumValues method name to getCollectionOfEnumValues in TypeScript. #2907
  • Added Method to the list of CSharpReservedClassNames. #2939
  • Changed generation to use aggregate type for TimeSpan values in java #2069
  • Fixed generation of properties with identical names after symbol cleanup. #2869
  • Use import type syntax in Typescript for all code that will be erased from output at runtime. [#2959](https://github.com/microsoft/kiota/issues/2959
kiota - v1.5.0-preview.202308030001

Published by baywet about 1 year ago

Added

  • Added the title of the API in the VSCode tree view. #2779
  • Added capability to serialize and deserialize UUIDs in typescript#40
  • Use import type statement if the generated code is an interface#2959
  • Added auto-generation header for class and enums in CSharp #2886
  • Added support for multipart form data request body in CSharp, Go, Java, and TypeScript. #220
  • Added support for base64 encoded properties in TypeScript.

Changed

  • Fixed missing type comments in many cases.
  • Fixed a bug where duplicate enum entries in the description would lead to duplicate members. #2352
  • Sunset app.kiota.dev in favour of the VSCode extension. #2934
  • Use schematized types for 206 response codes instead of binary. #2880
  • Type names are not changed to first char upper case in comments in some cases.
  • Fixed a bug where the show command would display an upgrade warning.
  • Updated getEnumValues method name to getCollectionOfEnumValues. #2907
  • Added Method to the list of CSharpReservedClassNames. #2939
  • Changed generation to use aggregate type for TimeSpan values in java #2069
  • Fixed generation of properties with identical names after symbol cleanup. [#2869](https://github.com/microsoft/kiota/issues/2869
kiota - v1.5.0-preview.202307270001

Published by baywet about 1 year ago

Added

  • Added the title of the API in the VSCode tree view. #2779
  • Added capability to serialize and deserialize UUIDs in typescript#40
  • Use import type statement if the generated code is an interface#2959

Changed

  • Fixed missing type comments in many cases.
  • Fixed a bug where duplicate enum entries in the description would lead to duplicate members. #2352
  • Sunset app.kiota.dev in favour of the VSCode extension. #2934
  • Use schematized types for 206 response codes instead of binary. #2880
  • Type names are not changed to first char upper case in comments in some cases.
  • Fixed a bug where the show command would display an upgrade warning.
  • Updated getEnumValues method name to getCollectionOfEnumValues. #2907
  • Added Method to the list of CSharpReservedClassNames. #2939
  • Changed generation to use aggregate type for TimeSpan values in java #2069
  • Fixed generation of properties with identical names after symbol cleanup. [#2869](https://github.com/microsoft/kiota/issues/2869
kiota - v1.5.0-preview.202307200001

Published by baywet about 1 year ago

Added

  • Added the title of the API in the VSCode tree view. #2779
  • Added capability to serialize and deserialize UUIDs in typescript

Changed

  • Fixed missing type comments in many cases.
  • Fixed a bug where duplicate enum entries in the description would lead to duplicate members. #2352
  • Sunset app.kiota.dev in favour of the VSCode extension. #2934
  • Use schematized types for 206 response codes instead of binary. #2880
  • Type names are not changed to first char upper case in comments in some cases.
  • Fixed a bug where the show command would display an upgrade warning.
  • Updated getEnumValues method name to getCollectionOfEnumValues. #2907
  • Added Method to the list of CSharpReservedClassNames. #2939
  • Changed generation to use aggregate type for TimeSpan values in java #2069
  • Fixed generation of properties with identical names after symbol cleanup. [#2869](https://github.com/microsoft/kiota/issues/2869
kiota - v1.5.0-preview.202307170006

Published by baywet over 1 year ago

Added

  • Added the title of the API in the VSCode tree view. #2779
  • Added capability to serialize and deserialize UUIDs in typescript

Changed

  • Fixed missing type comments in many cases.
  • Use schematized types for 206 response codes instead of binary. #2880
  • Typenames are not changed to first char upper case in comments in some cases.
  • Updated getEnumValues method name to getCollectionOfEnumValues. #2907
kiota - v1.4.0-preview.202307140002

Published by baywet over 1 year ago

Added

  • Added the title of the API in the VSCode tree view. #2779
  • Added capability to serialize and deserialize UUIDs in typescript

Changed

  • Fixed missing type comments in many cases.
  • Use schematized types for 206 response codes instead of binary. #2880
  • Typenames are not changed to first char upper case in comments in some cases.
  • Updated getEnumValues method name to getCollectionOfEnumValues. #2907
kiota - v1.4.0-preview.202307140001

Published by baywet over 1 year ago

Added

  • Added the title of the API in the VSCode tree view. #2779
  • Added capability to serialize and deserialize UUIDs in typescript

Changed

  • Fixed missing type comments in many cases.
  • Use schematized types for 206 response codes instead of binary. #2880
  • Typenames are not changed to first char upper case in comments in some cases.
  • Updated getEnumValues method name to getCollectionOfEnumValues. #2907
kiota - v1.4.0-preview.202307130012

Published by baywet over 1 year ago

Added

  • Added the title of the API in the VSCode tree view. #2779
  • Added capability to serialize and deserialize UUIDs in typescript

Changed

  • Fixed missing type comments in many cases.
  • Use schematized types for 206 response codes instead of binary. #2880
  • Typenames are not changed to first char upper case in comments in some cases.
  • Updated getEnumValues method name to getCollectionOfEnumValues. #2907
kiota - v1.4.0-preview.202307130004

Published by baywet over 1 year ago

Added

  • Added the title of the API in the VSCode tree view. #2779
  • Added capability to serialize and deserialize UUIDs in typescript

Changed

  • Fixed missing type comments in many cases.
  • Use schematized types for 206 response codes instead of binary. #2880
  • Typenames are not changed to first char upper case in comments in some cases.
  • Updated getEnumValues method name to getCollectionOfEnumValues. #2907
kiota - v1.4.0-preview.202307130003

Published by baywet over 1 year ago

Added

  • Added the title of the API in the VSCode tree view. #2779
  • Added capability to serialize and deserialize UUIDs in typescript

Changed

  • Fixed missing type comments in many cases.
  • Use schematized types for 206 response codes instead of binary. #2880
  • Typenames are not changed to first char upper case in comments in some cases.
  • Updated getEnumValues method name to getCollectionOfEnumValues. #2907
kiota - v1.4.0

Published by baywet over 1 year ago

Added

  • Added support for Composed types (De)Serialization for Python Generation. #1813
  • Added support for deprecation annotations in C#, Java, TypeScript and Go. #2605
  • Added a message to update kiota when using an outdated version. #2099

Changed

  • Fixed an issue with query parameter name normalization in Ruby and Python. #2825
  • Fixed serialization of scalar members in union types for C#, Go, Java. #2462
  • Fixes an issue where class to interface replacement in TypeScript would be flaky. #2676
  • Deprecated Visual Studio OpenAPI reference packages.
  • Fixed a bug where TypeScript errors would loose inheritance to base error definition.
  • Fixed a bug where types trimming would be too aggressive.
  • Fixed a bug where base property detection would be broken resulting in duplicate properties in inheritance trees.
  • Fixes a bug where classes ending up with Id would have the wrong names.
  • Fixed a bug where default enum values would not fail to build in TypeScript. #2615
  • Replaced response handler parameter by request option to reduce generated code size in TypeScript. #1855
  • Fixed a bug where a stackoverflow exception occurs when inlined schemas have self-references 2656
  • Fixed nil safety while type casting values in collections in Go
  • Moved common RequestBuilder ((request_adapter, url_template and path_parameters)) and RequestConfiguration(headers, options) properties to respective base classes in Python.2440
  • Fixed a bug where escaped package names would not be lowercased in Java.
  • Fix failing PHP integration tests 2378
  • Prevents method overloading for go getters and setters with different values. #2719
  • Fixed PHP request executor methods that return enums.
  • Allow configuration of the number of threads via the environment variable KIOTA_GENERATION_MAXDEGREEOFPARALLELISM.
  • Fixes regression where enum options would be renamed in CSharp.
  • Add locking to writing to log files.
kiota - v1.3.0

Published by baywet over 1 year ago

Changed

  • Changed python model classes to dataclasses. #2684
  • Fix issue with command conflicts causing CLI crashes. (Shell)
  • Fix build error by splitting the ambiguous --file option into --input-file and --output-file. (Shell)
  • Fixed including unused imports in Go #2699
  • Fixed a bug where error response type with primitive types would cause compile errors in dotnet #2651
  • Fixed a bug where CSharp generation would fail if the input openApi contained schemas named 'TimeOnly' or 'DateOnly' 2671
  • Updated the reserved types for CSharp to include 'Stream' and 'Date' should be reserved names in CSharp 2369
  • Fix issue with request builders with parameters being excluded from commands output. (Shell)
  • Fixed a bug in setting default enum values fails if the symbol has been sanitized and the symbol only contains special characters 2360
  • Fixed issue where duplicate query parameter names per path were added to the URL template. Now only distinct query parameter names are added. 2725
kiota - v1.2.1

Published by andrueastman over 1 year ago

Changed

  • Fixed a bug where Operation filters would be greedy and exclude non operation filters. #2651
  • Shorten Go File names to a max of 252
  • Fixed a bug where clean output option would fail because of the log file. #2645
  • Fixed a bug in the extension where selection in multiple indexers would fail. #2666
kiota - v1.2.0

Published by baywet over 1 year ago

Added

  • 📢📢📢 Go is now a stable language!
  • Added typescript interfaces for models and request config params. #1013 and #1521
  • Added automatic loading of the lock file for the extension so quick edits of clients are supported.
  • Added a warning message when clients get upgraded from one kiota version to another. #2598
  • Added trimming of derived types that are not being used by the client. #2543
  • Added support for merging schemas of AllOf > 2. #2438
  • Added operation selection in the vscode extension. #2556
  • Added Chinese translations to vscode extension.
  • Added an action to open documentation in the vscode extension. #2562

Changed

  • Fixed issue where implements for error classes were not copied when inlining classes.
  • Moved the common properties to a base class and remove properties(RequestAdapter, UrlTemplate and PathParameters) for the request builders and options and headers for RequestConfig classes PHP.2439
  • Fixed bugs with imports for PHP Generation.
  • Indexers replacement are now at the same level as the original indexer. e.g client.userById("id").messagesById("id")... is now client.users.withId("id").messages.withId("id")....
  • Fixed a bug where arrays with empty items definitions would still project properties. #2502
  • Fixed a bug where multiple single path parameters at the same level would produce invalid url templates.
  • Fixed a bug where steps count would be increasing on nav back in the extension. #2553
  • Fixed a bug where java path parameters wouldn't build.
  • Fixed a bug where extension would not reset generation information on new search. #2540
  • Fixed a bug where the extension would not select nodes when loading from lock file with no filters. #2542
  • Fixed a bug where the extension would fail to generate for the root path. #2536
  • Fixed a bug where properties copied from parent to child classes would not be cloned.
  • Fixed a bug where Java discriminator mapping would use the mapping name instead of the type name.
  • Fixed a bug where filters for nodes with same-level single path parameters with different names would not work anymore.
  • Fixed a bug where replacing reserved names would not propagate the rename to the inner child elements map of the parent class.
  • Fixed a bug where descriptions with multiple server URLs would use the HTTP one instead of HTTPs. #2336
  • Fixed a bug where backing store properties would be sometimes duplicated in derived classes.
  • Write PHP URL templates in request builders using single quoted strings to prevent need to escape $-prefixed names e.g. $count, $ref, $value
kiota - v1.1.3

Published by baywet over 1 year ago

Changed

  • Fixed a but where certain configuration sections would not load properly
Package Rankings
Top 2.15% on Pypi.org
Top 2.13% on Proxy.golang.org
Top 5.24% on Npmjs.org
Badges
Extracted from project README
Dotnet CodeQL Coverage Sonarcloud Status