api.endpoints.preprocessor

Members list

Type members

Classlikes

class PreprocessorEndpoints(reactionService: ReactionService[IO], mechanismService: MechanismService[IO])

Provides HTTP endpoints for managing reactions and mechanisms in the preprocessor module.

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
Supertypes
class Object
trait Matchable
class Any