-
Notifications
You must be signed in to change notification settings - Fork 280
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
The documentation only outputs the specified interface. #519
Comments
@Fioooooooo You can submit a PR to enhance |
@shalousun Given our current situation with fewer people and more requirements, it's not feasible to have each person dedicated to maintaining a service. With various demands requiring constant patching, pushing documentation based on requirement dimensions is clear at a glance, eliminating the need to search through a multitude of interfaces for those involved this time. Regarding the mentioned drawbacks, we are now prioritizing documentation. From the outset of a requirement, everyone starts by building the interface documentation using smart-doc. Subsequent development is based on the documentation, and there's rarely a need to modify the configuration file anymore. 关于提到的弊端,我们现在是文档先行。需求一开始,大家先基于 |
@Fioooooooo Feel free to check out #520 if you're interested. |
@shalousun When is version 2.7.1 scheduled to be released? |
|
Currently, the
packageFilter
parameter can only filter at the controller level. Is there a parameter that can support filtering at the individual interface level? If it's not supported at the moment, can I submit a PR (Pull Request) to add this functionality?Due to ongoing project requirements, the number of interfaces is gradually increasing. We create a new smart-doc configuration file for each requirement and then set up a corresponding project on torna. This new project will only include the interfaces involved in the current requirement, which might include new ones or existing ones. Not all interfaces within a controller may be part of the current requirement.
We are currently looking for a suitable solution, preferably one that can be handled within the configuration file itself.
现在
packageFilter
参数只能过滤到 controller 级别,是否有参数可以支持到单个接口级别?如果目前不支持,是否可以提pr?由于项目需求在不断推进,接口数量逐渐膨胀。我们会对每个需求新建一个
smart-doc
配置文件,然后在torna
上创建对应的项目,在此新项目中只包含该需求涉及到的接口,可能有新增,也可能有老接口。一个 controller 内可能不是所有接口都参与到当前需求之中。目前在找一个合适的解决方案,最好是在配置文件内就可以搞定
The text was updated successfully, but these errors were encountered: