Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: add action api spec #16

Merged
merged 1 commit into from
Nov 8, 2023
Merged

doc: add action api spec #16

merged 1 commit into from
Nov 8, 2023

Conversation

richardli1598
Copy link
Contributor

No description provided.

Signed-off-by: richardli1598 <opennaslab@gmail.com>
@richardli1598
Copy link
Contributor Author

/cc @repeater-0

@richardli1598 richardli1598 changed the title doc: add workflow api spec doc: add action api spec Nov 7, 2023
required: true
backendPort:
type: int
description: The backend port of the route
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the description can be written in a description file for page rendering rather than directly in yaml. This will aid the community's ability to support more languages. : )

Copy link
Contributor Author

@richardli1598 richardli1598 Nov 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个就像CRD一样,action的接口就是返回这个的json格式,用于前端表格渲染,如果用其他文件承载,感觉意义不大。

多语言感觉可以先不考虑,太复杂了

@richardli1598 richardli1598 merged commit 4f47cd4 into main Nov 8, 2023
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants