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.22-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0d5e6bd82b8a32a9c505b95029786251266b6575d31a4be7638107a6e629fb1 |
|
MD5 | 08e066a05fcaa3401f24ed9c6246ee49 |
|
BLAKE2b-256 | 82f49e1ea78bcb2c5518cda66c56ac1b527b5d5368722069ba8dbfdf315fa75f |