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.0.23.tar.gz
.
File metadata
- Download URL: zds-schema-0.0.23.tar.gz
- Upload date:
- Size: 13.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.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2acb5741690b31bf953649d1f4df1d9aa8dc1529e54df8ee4c6293ee99557fa7 |
|
MD5 | bfa965a727426a86e144956dbbe30b5d |
|
BLAKE2b-256 | 40eea9354153a9b78014451df135b3890a1cb1c1bcc2318676fee22bf6e6cbda |
File details
Details for the file zds_schema-0.0.23-py2.py3-none-any.whl
.
File metadata
- Download URL: zds_schema-0.0.23-py2.py3-none-any.whl
- Upload date:
- Size: 19.1 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.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eab33fe9cd95eddffe2a4e3a737ba5ef42f71fb4396d7b39a018cb32df2a1652 |
|
MD5 | 27dd0c727e57ba16fef0f411979ecbae |
|
BLAKE2b-256 | aa005594352472cee9b09aad632a1138dc7ac7bae7f13acd6f5c5a0520e0efdf |