【问题标题】:How to set a description for an API Gateway using the Serverless Framework?如何使用无服务器框架为 API 网关设置描述?
【发布时间】:2017-12-18 10:10:59
【问题描述】:

我想在 serverless.yml 文件中执行此操作,但在文档中找不到方法。

我想避免在每次从 CLI 部署后使用类似

aws apigateway update-rest-api --rest-api-id <id> --patch-operations op=replace,path=/description,value='description'

【问题讨论】:

  • 你的描述值是自动生成的吗?
  • 不,这是我要手动设置的文本

标签: amazon-cloudformation serverless-framework


【解决方案1】:

你试过serverless-aws-documentation插件吗?

【讨论】:

    猜你喜欢
    • 2018-01-26
    • 1970-01-01
    • 2019-10-07
    • 1970-01-01
    • 2020-11-08
    • 2021-04-30
    • 2018-08-27
    • 1970-01-01
    • 2021-05-06
    相关资源
    最近更新 更多