Skip to content

Commit 706b7b4

Browse files
committed
fix mkdocs
1 parent 013d869 commit 706b7b4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

crates/ruff_linter/src/rules/ruff/rules/fastapi_redundant_response_model.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,14 @@ use crate::fix::edits::{remove_argument, Parentheses};
1818
/// For more information, see the [FastAPI documentation](https://fastapi.tiangolo.com/tutorial/response-model/).
1919
///
2020
/// ## Example
21+
///
2122
/// ```python
2223
/// from fastapi import FastAPI
2324
/// from pydantic import BaseModel
2425
///
2526
/// app = FastAPI()
27+
///
28+
///
2629
/// class Item(BaseModel):
2730
/// name: str
2831
///
@@ -33,11 +36,14 @@ use crate::fix::edits::{remove_argument, Parentheses};
3336
/// ```
3437
///
3538
/// Use instead:
39+
///
3640
/// ```python
3741
/// from fastapi import FastAPI
3842
/// from pydantic import BaseModel
3943
///
4044
/// app = FastAPI()
45+
///
46+
///
4147
/// class Item(BaseModel):
4248
/// name: str
4349
///

0 commit comments

Comments
 (0)