acdha,
@acdha@code4lib.social avatar

@ahl you can do validation early (e.g. Cloudflare will do it again the edge https://developers.cloudflare.com/api-shield/security/schema-validation/), you can autogenerate clients for other languages or IDE support, tools like https://pypi.org/project/schemathesis/ work portably, you can reference shared scheme definitions, etc.

One way to avoid duplication would be to have your API library generate schemas from your models so you work with typed, validated requests but can offer consumers schema-based tools.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • everett
  • DreamBathrooms
  • ngwrru68w68
  • magazineikmin
  • thenastyranch
  • osvaldo12
  • Youngstown
  • Durango
  • slotface
  • rosin
  • kavyap
  • khanakhh
  • tacticalgear
  • ethstaker
  • JUstTest
  • InstantRegret
  • mdbf
  • cubers
  • Leos
  • modclub
  • tester
  • anitta
  • GTA5RPClips
  • cisconetworking
  • megavids
  • provamag3
  • normalnudes
  • lostlight
  • All magazines