Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • D Demonstrator - Reasoning WebAPI
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 4
    • Issues 4
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • cogsys
  • Dare2Del
  • Demonstrator - Reasoning WebAPI
  • Issues
  • #33

Closed
Open
Created Nov 28, 2020 by Siebers, Michael@michael.siebersOwner6 of 10 tasks completed6/10 tasks

Validate JSON input and throw exceptions

Only for the /irrelevant/file and the /explain endpoint, the JSON input is validated. And only these two endpoints throw appropriate exceptions (c.f. !6). These practices should be rolled out to the other endpoints:

  • /
  • /add
  • /remove
  • /query
  • /state
  • /bg
    • POST requests (c.f. #21 (closed))
    • GET requests
  • /clear
  • /clear/all

Some of these tasks might be done more easy after #27 (closed) is solved.

Edited Dec 04, 2020 by Sebastian Seufert
Assignee
Assign to
Time tracking