Skip to content

Navigation Menu

Sign in
Sign up

Added Disease Diagnosis API in C# - #3

Open
pratigyan16 wants to merge 1 commit into
keploy:main from
pratigyan16:pratigyan-diseaseapi
Open

Added Disease Diagnosis API in C# #3
pratigyan16 wants to merge 1 commit into
keploy:main from
pratigyan16:pratigyan-diseaseapi

Conversation

@pratigyan16

@pratigyan16 pratigyan16 commented Jun 18, 2025
edited
Loading

Copy link
Copy Markdown

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"
}

Copy link
Copy Markdown

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

Pratigyan Pattanayak Pratigyan Pattanayak
Signed-off-by: Pratigyan Pattanayak <pratigyan1609@example.com>
@pratigyan16 pratigyan16 changed the title (削除) Added Disease Diagnosis API in C# for Keploy Samples (削除ここまで) (追記) Added Disease Diagnosis API in C# (追記ここまで) Jun 20, 2025

@Achanandhi-M Achanandhi-M left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @pratigyan16 can you please add readme for this sample projects, it will be easy to get started and also try to record some test cases using keploy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer
@Achanandhi-M Achanandhi-M Achanandhi-M requested changes
Reviewers whose approvals may not affect merge requirements

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /