FIWARE / api-umbrella

Open source API management platform
https://fiware-api-umbrella.readthedocs.io/
MIT License
2 stars 7 forks source link

Implement NGSI compliance check function #17

Open dwendland opened 2 years ago

dwendland commented 2 years ago

For the attribute-based authorization modes for NGSI requests, these requests should be checked for compliance.

There should be functions checking for compliance with v2 or LD.

Also check content-type header depending on operation, therefore in some cases also allowing application/ld+json or application/merge-patch+json in addition to application/json.

This should be added to the utility module implemented in #16