V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
woostundy
V2EX  ›  Linux

OpenAPI 对于 多 API Key 的安全方案描述感觉很诡异啊

  •  
  •   woostundy · Jul 22, 2020 · 1782 views
    This topic created in 2114 days ago, the information mentioned may be changed or developed.

    不知道是不是我理解问题,OpenAPI 其他的 security scheme,都是一整套的,不依赖路径操作里的配置的。 但到了多 API key 这里,每个 scheme 成了单独的 API key,然后靠路径操作里的设置来变成 AND 的关系,

    这一来 scheme name 有了两意性,二来 security scheme 自描述不足以表达完整方案,必须依赖路径操作里的配置。

    参考:官方文档

    我在 GitHub 上也提了 issue,Support mutiple api keys as a new security type 但官方人员似乎觉得不是问题。

    是我理解有误?

    1 replies    2020-07-22 19:42:56 +08:00
    woostundy
        1
    woostundy  
    OP
       Jul 22, 2020
    得,issue 被关闭了,很奇怪为什么不支持。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   890 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 21:00 · PVG 05:00 · LAX 14:00 · JFK 17:00
    ♥ Do have faith in what you're doing.