Skip to content

Sliced OpenAPI description generated by plugin add should be named <plugin-name>-openapi.json #4595

Closed

Description

What are you generating using Kiota, clients or plugins?

Kiota plugin

In what context or format are you using Kiota?

Windows executable

Client Library/SDK Language

None

Describe the bug

When generating plugins we have the following:

  • Plugin manifest types (one to any)
  • Sliced OpenAPI based on the pre-selected endpoints

Today, the generated OpenAPI description is been named openapi.json

Some situations may require one to have more than 1 plugin into the same output directory, for example, building custom GPTs and having more than 1 plugin available.

Expected behavior

Today, the openapi.json gets override every time a new plugin is generated is a output directory we already have a plugin. To avoid that, sliced OpenAPI descriptions should be named <plugin-name>-openapi.json.

How to reproduce

Generate more than 1 plugin into the same output directory

Open API description file

No response

Kiota Version

plugin feature

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_
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

enhancementNew feature or requestgeneratorIssues or improvements relater to generation capabilities.

Type

No type

Projects

  • Status

    Done ✔️

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions