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.25-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6988e40d74d3b9cfead1b09f637b9012279741bfb638a9f7e110cd2c0d142048 |
|
MD5 | 3eec5190b4f65ec642d7b177fd13c49f |
|
BLAKE2b-256 | dd62862127d9192c3cce29deeb06ea3e54ee534fc49bc4155e171929e65efc35 |