Skip to content

Commit

Permalink
Adjusted so deprecation notice which is a block comes after text
Browse files Browse the repository at this point in the history
  • Loading branch information
sliverc committed Oct 3, 2024
1 parent af1beb8 commit 77be743
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -1056,6 +1056,11 @@ The `prefetch_related` case will issue 4 queries, but they will be small and fas

## Generating an OpenAPI Specification (OAS) 3.0 schema document

DRF has a [OAS schema functionality](https://www.django-rest-framework.org/api-guide/schemas/) to generate an
[OAS 3.0 schema](https://www.openapis.org/) as a YAML or JSON file.

DJA extends DRF's schema support to generate an OAS schema in the JSON:API format.

---

**Deprecation notice:**
Expand All @@ -1070,11 +1075,6 @@ As a full-fledged replacement, we recommend the [drf-spectacular-json-api] packa

---

DRF has a [OAS schema functionality](https://www.django-rest-framework.org/api-guide/schemas/) to generate an
[OAS 3.0 schema](https://www.openapis.org/) as a YAML or JSON file.

DJA extends DRF's schema support to generate an OAS schema in the JSON:API format.

### AutoSchema Settings

In order to produce an OAS schema that properly represents the JSON:API structure
Expand Down

0 comments on commit 77be743

Please sign in to comment.