Skip to content

Commit

Permalink
feat(apigw_manager): add sync_rest_framework command
Browse files Browse the repository at this point in the history
  • Loading branch information
zhu327 committed Apr 25, 2024
1 parent b263763 commit c57c096
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdks/apigw-manager/docs/sync-apigateway-with-django.md
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ INSTALLED_APPS = [
python manage.py sync_rest_framework
```

此命令有一下可选参数:
此命令有以下可选参数:

- api-name: 同步到网关的网关名称, 如果没填, 会尝试到Django `settings.BK_APIGW_NAME`, 如果还是取不到, 会使用环境变量中的`BKPAAS_APP_CODE`作为网关名
- define-path: 生成`definition.yaml``resources.yaml`的目录, 默认`support-files/apigateway`
Expand Down

0 comments on commit c57c096

Please sign in to comment.