Skip to content

openapi spec generated by Kiota is in version 3.0.4 #5944

@KennethBWSong

Description

@KennethBWSong

What are you generating using Kiota, clients or plugins?

Kiota plugin

In what context or format are you using Kiota?

Source Build

Client library/SDK language

None

Describe the bug

When trying TTK with latest prelease kiota extension (1.22.24122701), we found the version in openapi spec generated under tmp/kiota-xxx/appPackage is "3.0.4", however the version in original openapi spec is "3.0.0".
Kiota generated:
Image
originial:
Image

Expected behavior

Kiota should generate the openapi with same version of original file

How to reproduce

Create a DC + Plugin from TTK
Select OpenAPI Spec
Choose a local openapi spec with version 3.0.0
Click generate and create TTK project.

Open API description file

No response

Kiota Version

v1.22.0-preview.202412260001

Latest Kiota version known to work for scenario above?(Not required)

No response

Known Workarounds

No response

Configuration

No response

Debug output

Click to expand log ```
</details>


### Other information

_No response_

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Done ✔️

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions