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

Incorrect Indentation in apidoc Generated Documentation #1444

Open
qiulinhui opened this issue Apr 24, 2024 · 1 comment
Open

Incorrect Indentation in apidoc Generated Documentation #1444

qiulinhui opened this issue Apr 24, 2024 · 1 comment

Comments

@qiulinhui
Copy link

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:

  1. Define an API endpoint with parameters of different data types, including some with lowercase initial letters (e.g., number, boolean).
  2. Generate documentation using apidoc.
  3. 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
@NicolasCARPi
Copy link
Collaborator

#1436

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

No branches or pull requests

2 participants