mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-11-16 13:51:26 +01:00
Describe the API token authentication, name the colliding transaction type enums, and use nullable instead of an OpenAPI 3.1 null type. A test keeps the schema free of warnings.
10 lines
255 B
Python
10 lines
255 B
Python
from django.apps import AppConfig
|
|
|
|
|
|
class ApiConfig(AppConfig):
|
|
default_auto_field = "django.db.models.BigAutoField"
|
|
name = "apps.api"
|
|
|
|
def ready(self):
|
|
import apps.api.schema # noqa: F401 registers the API token scheme for the docs
|