mirror of
https://github.com/PokeAPI/pokeapi
synced 2024-11-21 19:03:08 +00:00
docs(openapi): update spectacular settings
This commit is contained in:
parent
4bc132d82c
commit
7f2d2bdf83
1 changed files with 6 additions and 4 deletions
|
@ -140,10 +140,12 @@ TEMPLATES = [
|
|||
DEFAULT_AUTO_FIELD = "django.db.models.AutoField"
|
||||
|
||||
SPECTACULAR_SETTINGS = {
|
||||
'TITLE': 'Your Project API',
|
||||
'DESCRIPTION': 'Your project description',
|
||||
'VERSION': '1.0.0',
|
||||
'TITLE': 'pokeapi',
|
||||
'DESCRIPTION': 'A RESTful API for Pokémon.',
|
||||
'SERVERS': [{'url': 'https://pokeapi.co/api/v2'}],
|
||||
'EXTERNAL_DOCS': {'url': 'https://pokeapi.co/docs/v2'},
|
||||
'VERSION': '2.7.0',
|
||||
'SERVE_INCLUDE_SCHEMA': False,
|
||||
# OTHER SETTINGS
|
||||
'OAS_VERSION': '3.1.0',
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue