When generate API plugin, kiota should make sure that server url inside OpenAPI spec file using https protocol #5289
Labels
status:waiting-for-triage
An issue that is yet to be reviewed or assigned
type:bug
A broken experience
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
Load OpenAPI spec file: https://raw.githubusercontent.com/SLdragon/example-openapi-spec/main/http-protocol-server-url.yaml
Generate plugin
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
```The text was updated successfully, but these errors were encountered: