Skip to content

Conversation

pratigyan16
Copy link

@pratigyan16 pratigyan16 commented Jun 18, 2025

Description
This pull request adds a new sample project named DiseaseDiagnosisAPI to the samples-csharp repository as part of the Keploy API Fellowship - Task 2. The API is built with ASP.NET Core Web API and allows users to POST symptom details and receive a possible diagnosis based on simple rule-based logic.

##What’s Included

  • DiseaseDiagnosisAPI/: New folder containing:
    • Controller for POST endpoint (/DiseaseDiagnosis)
    • Basic diagnosis logic based on input symptom text
    • Sample response formats
    • Minimal model class for request body
  • README.md: Project description, usage guide, sample inputs

Tech Stack

  • ASP.NET Core 6
  • C#
  • JSON-based API

Example Request

POST /DiseaseDiagnosis

{
  "symptoms": "fever and cough"
}

@pratik-mahalle
Copy link

Hey @pratigyan16, Thank you for raising the pr. Our team will review this changes soon. Before that can you please add a detailed description about the pr and also add the DCO sign off before pushing the changes. Please make sure these changes

@pratigyan16 pratigyan16 force-pushed the pratigyan-diseaseapi branch from 8ace2e7 to f259395 Compare June 20, 2025 13:21
@pratigyan16 pratigyan16 changed the title Added Disease Diagnosis API in C# for Keploy Samples Added Disease Diagnosis API in C# Jun 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants