Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When generate API plugin, kiota should make sure that server url inside OpenAPI spec file using https protocol #5289

Closed
SLdragon opened this issue Sep 2, 2024 · 1 comment
Labels
status:waiting-for-triage An issue that is yet to be reviewed or assigned type:bug A broken experience

Comments

@SLdragon
Copy link

SLdragon commented Sep 2, 2024

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

API plugin only support https protocol, and when generate plugin, Kiota should make sure that server url inside OpenAPI spec file using https protocol, it it uses http protocol, we should throw error to tell user that http is not supported.

Expected behavior

Should throw error to tell user that http is not supported

How to reproduce

Open API description file

No response

Kiota Version

1.18.24082901

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_
@SLdragon SLdragon added status:waiting-for-triage An issue that is yet to be reviewed or assigned type:bug A broken experience labels Sep 2, 2024
@github-project-automation github-project-automation bot moved this to Needs Triage 🔍 in Kiota Sep 2, 2024
@maisarissi
Copy link
Contributor

Duplicated of: https://github.com/microsoft/Microsoft.Plugins.Manifest/issues/258

This is being tracked by #5162 and will be available in 1.18.

@github-project-automation github-project-automation bot moved this from Needs Triage 🔍 to Done ✔️ in Kiota Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:waiting-for-triage An issue that is yet to be reviewed or assigned type:bug A broken experience
Projects
Archived in project
Development

No branches or pull requests

2 participants