Skip to content

Commit 959d4dd

Browse files
committed
update docs
1 parent d653856 commit 959d4dd

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

docs/changelog.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,10 @@ Backward-incompatible changes, improvements, bug fixes
1111
* Includes (see :ref:`example with many-to-many <include_many_to_many>`) - any level of includes is now supported (tested with 4);
1212
* View Classes generics (Detail View and List View);
1313
* View Classes now use instance-level methods (breaking change, previously ``classmethods`` were used);
14-
* Pydantic schemas now have to be inherited from custom BaseModel methods (breaking change, previously all schemas were supported). It uses custom :ref:`registry class <https://github.com/mts-ai/FastAPI-JSONAPI/blob/188093e967bb80b7a1f0a86e754a52e47f252044/fastapi_jsonapi/schema_base.py#L33>`, so we can collect and resolve all schemas. Maybe there's some workaround to collect all known schemas;
15-
* Improved docs, request and response examples have more info, more schemas appear in docs;
14+
* Pydantic schemas now have to be inherited from custom BaseModel methods (breaking change, previously all schemas were supported). It uses custom `registry class <https://github.com/mts-ai/FastAPI-JSONAPI/blob/188093e967bb80b7a1f0a86e754a52e47f252044/fastapi_jsonapi/schema_base.py#L33>`_, so we can collect and resolve all schemas. Maybe there's some workaround to collect all known schemas;
15+
* Improved interactive docs, request and response examples now have more info, more schemas appear in docs;
1616
* Reworked schemas resolving and building;
1717
* Fixed filtering (schemas resolving fix);
18-
* Fixed filtering (schemas resolving fix);
1918
* Create custom sql filters :ref:`example <custom_sql_filtering>`;
2019
* Add linters: black, ruff;
2120
* Add pre-commit;

docs/custom_sql_filtering.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Search for objects
3232

3333
Request:
3434

35-
.. sourcecode:: http
35+
.. sourcecode:: HTTP
3636

3737
GET /pictures?filter=[{"name":"picture.meta","op":"jsonb_contains","val":{"location":"Moscow"}}]
3838
Accept: application/vnd.api+json

0 commit comments

Comments
 (0)