PreprocessorEndpoints
api.endpoints.preprocessor.PreprocessorEndpoints
class PreprocessorEndpoints(reactionService: ReactionService[IO], mechanismService: MechanismService[IO])
Provides HTTP endpoints for managing reactions and mechanisms in the preprocessor module.
This class defines routes for:
- Fetching reaction and mechanism details by ID.
- Creating new reactions.
- Deleting existing reactions.
All endpoints interact with the ReactionService
and MechanismService
for business logic and return appropriate JSON responses or error messages.
Value parameters
- mechanismService
-
Handles retrieval of mechanism details.
- reactionService
-
Handles CRUD operations related to reactions.
Attributes
- Source
- PreprocessorEndpoints.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
In this article