Skip to content

Commit

Permalink
test: make format
Browse files Browse the repository at this point in the history
  • Loading branch information
Indyandie committed Mar 5, 2024
1 parent e51c11e commit d772620
Show file tree
Hide file tree
Showing 3 changed files with 2,561 additions and 2,723 deletions.
45 changes: 22 additions & 23 deletions config/settings.py
Expand Up @@ -99,7 +99,7 @@
"corsheaders",
"rest_framework",
"cachalot",
'drf_spectacular',
"drf_spectacular",
) + CUSTOM_APPS


Expand All @@ -117,7 +117,7 @@
"DEFAULT_PAGINATION_CLASS": "rest_framework.pagination.LimitOffsetPagination",
"PAGE_SIZE": 20,
"PAGINATE_BY": 20,
'DEFAULT_SCHEMA_CLASS': 'drf_spectacular.openapi.AutoSchema',
"DEFAULT_SCHEMA_CLASS": "drf_spectacular.openapi.AutoSchema",
}


Expand All @@ -140,26 +140,25 @@
DEFAULT_AUTO_FIELD = "django.db.models.AutoField"

SPECTACULAR_SETTINGS = {
'TITLE': 'pokeapi',
'DESCRIPTION': 'A RESTful API for Pokémon.',
'SERVERS': [{'url': 'https://pokeapi.co'}],
'EXTERNAL_DOCS': {'url': 'https://pokeapi.co/docs/v2'},
'VERSION': '2.7.0',
'SERVE_INCLUDE_SCHEMA': False,
'OAS_VERSION': '3.1.0',
'COMPONENT_SPLIT_REQUEST': True,
'TAGS': [
'pokemon',
'evolution',
'berries',
'items',
'machines',
'location',
'contest',
'moves',
'encounters',
'games',
'utility',
"TITLE": "pokeapi",
"DESCRIPTION": "A RESTful API for Pokémon.",
"SERVERS": [{"url": "https://pokeapi.co"}],
"EXTERNAL_DOCS": {"url": "https://pokeapi.co/docs/v2"},
"VERSION": "2.7.0",
"SERVE_INCLUDE_SCHEMA": False,
"OAS_VERSION": "3.1.0",
"COMPONENT_SPLIT_REQUEST": True,
"TAGS": [
"pokemon",
"evolution",
"berries",
"items",
"machines",
"location",
"contest",
"moves",
"encounters",
"games",
"utility",
],
}

0 comments on commit d772620

Please sign in to comment.