Incorrect Indentation in apidoc Generated Documentation
Author: qiulinhuiCreated Apr 24, 2024Updated Apr 24, 2024
Bug Report: Incorrect Indentation in apidoc Generated Documentation
Issue Description:
When the data type starts with an uppercase letter, such as Array, String, etc., the documentation generated by apidoc displays correct indentation. However, when the data type does not start with an uppercase letter, proper indentation is not applied.
Steps to Reproduce:
- Define an API endpoint with parameters of different data types, including some with lowercase initial letters (e.g.,
number,boolean). - Generate documentation using apidoc.
- Observe the indentation of the data types in the generated documentation.
Expected Behavior: The indentation in the generated documentation should be consistent regardless of the case of the initial letter of the data type.
Actual Behavior: Indentation is correct only when the data type starts with an uppercase letter; otherwise, indentation is not applied correctly.
Additional Information:
- Version of apidoc used: 1.2.0
- Operating System: Ubuntu
Source: apidoc/apidoc