You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since we first introduced schema support in Django REST Framework 3.5, OpenAPI has emerged as the widely adopted standard for modelling Web APIs.
12
+
13
+
This release deprecates the old CoreAPI based schema generation, and introduces improved OpenAPI schema generation in its place.
14
+
15
+
### Deprecating CoreAPI Schema Generation.
16
+
17
+
The in-built docs that were introduced in Django REST Framework v3.5 were built on CoreAPI. These are now deprecated. You may continue to use them but they will be **removed in Django REST Framework v 3.12**.
18
+
19
+
You should migrate to using the new OpenAPI based schema generation as soon as you can.
20
+
21
+
22
+
We have removed the old documentation for the CoreAPI based schema generation.
23
+
You may view them from here:
24
+
25
+
TOOD: Insert links:
26
+
27
+
* Tutorial 7: Schemas & client libraries
28
+
* Section from Documenting your API topic page.
29
+
* Includes API reference for `include_docs_urls()` and supporting functions.
30
+
* Schemas API Guide reference.
31
+
32
+
----
33
+
34
+
**TODO**:
35
+
- Currently, `SchemaView` will keep working.
36
+
- Hardcoded generator class.
37
+
-`generateschema` won't work... Do we need to fix that?
38
+
- Only introduced in v3.9. Not really useful for `coreapi`?
39
+
- Note on (≈private) import changes.
40
+
- Documented utility imports from `schemas` should be maintained.
0 commit comments