EC-CUBE で https 強制にしている場合、 swagger-ui からの API コールに失敗する
Open
bug
- Dominant language
- JavaScript
- Stars
- 13
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Description
https 強制にしている場合、 swagger-ui から API コールすると http 通信しようとするため。
eccubeapi.yml で https のみ有効にしてやれば通信可能
``` diff
diff --git a/eccubeapi.yml b/eccubeapi.yml
index 6215deb..3ed20b4 100644
--- a/eccubeapi.yml
+++ b/eccubeapi.yml
@@ -11,7 +11,7 @@ info:
host:
basePath: //
schemes:
- - http
+# - http
- https
consumes:
- application/json
```
なお OAuth2.0 では TLS が MUST になっているため、認証が必要な API をコールする場合は、 https を強制する必要がある
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.