RAML 1.0 - 自定义架构的安全方案



我需要包含一个安全模式,该架构之前在RAML v0.8中使用

安全方案:
- 高度敏感:!include ./securitySchemas/http_api_sign_v1.91_dsig.raml
securedBy: [高灵敏度]
媒体类型: application/json*

但它在 RAML v1.0 中不起作用。

我应该如何在RAML v1.0中包含客户安全架构?

在高度敏感之前不-尝试。

securitySchemes:
  highlysensitive: !include ./securitySchemas/http_api_sign_v1.91_dsig.raml 
securedBy: [highlysensitive]
mediaType: application/json*

来源: https://github.com/raml-org/raml-spec/blob/master/versions/raml-10/raml-10.md/#applying-security-schemes

最新更新