Skip to content

Plugin System for Third-party Parsers #5

@CodeMaverick-143

Description

@CodeMaverick-143

Users may need to parse proprietary formats (e.g., HL7, ISO8583).

Technical Implementation:

  • Define a Parser interface: (req) => Promise<any>.
  • Add app.registerParser(contentType, parserFn).
  • Update the content-type detection logic to check registered custom parsers first.

Acceptance Criteria:

  • A user can register a custom parser for application/x-custom.
  • Requests with that content type have req.body populated by the custom parser.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions