- Fixed import sorting in cli.py, __main__.py, detectors/__init__.py, base.py, python.py, rust.py, openapi.py, models/__init__.py - Removed unused imports (sys, asyncio, Observer, Text, Parameter, ParameterIn, HTTPMethod, DocConfig, List, Optional) - Removed trailing whitespace from blank lines - Split lines exceeding 100 characters - Added missing __init__ docstrings in generators and static/templates packages
This commit is contained in:
@@ -1,6 +1,15 @@
|
|||||||
"""Models package."""
|
{"""Models package."""
|
||||||
|
|
||||||
from docgen.models.endpoint import Endpoint, Parameter, Response, HTTPMethod, ParameterIn
|
|
||||||
from docgen.models.config import DocConfig, OutputFormat, Theme
|
from docgen.models.config import DocConfig, OutputFormat, Theme
|
||||||
|
from docgen.models.endpoint import Endpoint, HTTPMethod, Parameter, ParameterIn, Response
|
||||||
|
|
||||||
__all__ = ["Endpoint", "Parameter", "Response", "HTTPMethod", "ParameterIn", "DocConfig", "OutputFormat", "Theme"]
|
__all__ = [
|
||||||
|
"Endpoint",
|
||||||
|
"Parameter",
|
||||||
|
"Response",
|
||||||
|
"HTTPMethod",
|
||||||
|
"ParameterIn",
|
||||||
|
"DocConfig",
|
||||||
|
"OutputFormat",
|
||||||
|
"Theme",
|
||||||
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user