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
Hashes for zds_schema-0.0.32-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 837feb55da3bd2d9cf9346f35ee6694f612931a2aced010fca02fd3598502307 |
|
MD5 | 8f9dea2265309d344ecf4321c02db843 |
|
BLAKE2b-256 | e73820efc78dfde52c3967e62eb73e04924d108a3901c659c6e756823e74cda6 |