Schema-generatie tooling
Project description
ZDS-Schema voorziet een generieke API schema-generatiestrategie die gedeeld wordt tussen verschillende componenten betrokken in zaakgericht werken.
1 Features
Centraal beheer van cosntanten die de verschillende componenten overstijgen
GeoJSON OpenAPI definities
Support voor Geo CRS negotation
Ingebouwde support voor nested viewsets met declaratievere syntax voor registratie
- Vaak voorkomende validators:
RSIN/BSN validator
Numerieke waarde validator
Niet-negatieve waarde validator
Alfanumerieke waarde (zonder diacritics)
- Custom inspectors voor drf-yasg:
Support voor rest_framework_gis GeometryField
URL-based related resource filtering (django-filter support)
Management command generate_swagger overloaded om default versie mee te nemen en server-informatie domein-agnostisch te maken
Support voor ISO 8601 durations
- Custom model fields:
RSINField
BSNField
LanguageField
VertrouwelijkheidsAanduidingField
DaysDurationField
2 Installatie
2.1 Benodigdheden
Python 3.6 of hoger
setuptools 30.3.0 of higher
2.2 Installeren
pip install -e git+https://github.com/maykinmedia/gemma-zaken-common.git@master#egg=zds_schema
3 Gebruik
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file zds-schema-0.3.0.tar.gz
.
File metadata
- Download URL: zds-schema-0.3.0.tar.gz
- Upload date:
- Size: 21.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 984b32df8c1a803797901b68a0e9e992c47c62a7879f02c4230a508d66a67613 |
|
MD5 | 4a7245a58ee51c4ca818044473de0c59 |
|
BLAKE2b-256 | 6faf1f49831945de2eeea50371d1ef0b8e7ca8dc5cde1ab43c4972b011f2a5b5 |
File details
Details for the file zds_schema-0.3.0-py2.py3-none-any.whl
.
File metadata
- Download URL: zds_schema-0.3.0-py2.py3-none-any.whl
- Upload date:
- Size: 31.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d20126106227aa8a8de0ea76f885412857af8814749c491c68a202b21f447d1a |
|
MD5 | 7155be215165ce6b05cc6f05474f6f39 |
|
BLAKE2b-256 | e99a76f7dc098b5c771b7de869a92935a2bc2acdacdac0d4437e2742eed705b1 |