Skip to content

Commit 2bbaf61

Browse files
Added header revision
1 parent ded1650 commit 2bbaf61

5 files changed

Lines changed: 40 additions & 7 deletions

File tree

CaseConversionAPI/DotNetAPI/Controllers/WordCaseController.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@
1313
/* to delegate conversion logic based on user choice. */
1414
/* */
1515
/* Notes - Supports multiple conversion strategies including */
16-
/* Alternating Case via native C++ interop. */
16+
/* Alternating Case via native C++ interop. */
1717
/* */
1818
/* $Log: WordCaseController.cs */
19+
/* 1.0 11-Apr-2026 Nitish Singh */
20+
/* Initial revision. */
1921
/*********************************************************************/
2022

2123
using Microsoft.AspNetCore.Mvc;
@@ -26,7 +28,7 @@ namespace StringConversionAPI.Controllers
2628
{
2729
[ApiController]
2830
[Route("api/[controller]")]
29-
public class WordCaseController : ControllerBase
31+
public class WordCaseController : ControllerBase
3032
{
3133
private readonly ProcessStringService _service;
3234

CaseConversionAPI/DotNetAPI/Models/ConvertRequest.cs

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,19 @@
66
/* purposes only. It is not to be used in industry or for */
77
/* commercial purposes. */
88
/* */
9-
/* Class : ConvertRequest */
9+
/* Class - ConvertRequest */
1010
/* */
11-
/* Description : Model representing the request payload for */
11+
/* Description - Model representing the request payload for */
1212
/* string conversion operations. Contains input */
1313
/* text and conversion choice selected by the user. */
1414
/* */
15-
/* Notes : Used by WordCaseController POST endpoint. */
15+
/* Notes - Used by WordCaseController POST endpoint. */
16+
/* */
17+
/* $Log: ConvertRequest.cs */
18+
/* 1.0 11-Apr-2026 Nitish Singh */
19+
/* Initial revision. */
1620
/*********************************************************************/
21+
1722
namespace StringConversionAPI.Models
1823
{
1924
public class ConvertRequest

CaseConversionAPI/DotNetAPI/Models/ConvertResponse.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*********************************************************************/
2-
/* $Header: ConvertResponse.cs */
2+
/* File: ConvertResponse.cs */
33
/* */
44
/* Copyright (c) 2016-2026 nitishhsinghh. All rights reserved. */
55
/* This material may be reproduced for teaching and learning */
@@ -16,6 +16,8 @@
1616
/* Encapsulates API response payload */
1717
/* */
1818
/* $Log: ConvertResponse.cs */
19+
/* 1.0 11-Apr-2026 Nitish Singh */
20+
/* Initial revision. */
1921
/*********************************************************************/
2022

2123
namespace StringConversionAPI.Models

CaseConversionAPI/DotNetAPI/Program.cs

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
/*********************************************************************/
2+
/* File: Program.cs */
3+
/* */
4+
/* Copyright (c) 2016-2026 nitishhsinghh. All rights reserved. */
5+
/* This material may be reproduced for teaching and learning */
6+
/* purposes only. It is not to be used in industry or for */
7+
/* commercial purposes. */
8+
/* */
9+
/* Description - Application entry point configuring ASP.NET Core */
10+
/* pipeline, dependency injection, CORS, and Swagger */
11+
/* for the Word Case REST API. Registers services and */
12+
/* maps controller endpoints. */
13+
/* */
14+
/* Notes - Enables Swagger UI at root */
15+
/* Configures CORS for cross-origin requests */
16+
/* Registers ProcessStringService for DI */
17+
/* */
18+
/* $Log: Program.cs */
19+
/* 1.0 11-Apr-2026 Nitish Singh */
20+
/* Initial revision. */
21+
/*********************************************************************/
22+
123
using Microsoft.OpenApi.Models;
224
using StringConversionAPI.Services;
325

CaseConversionAPI/DotNetAPI/Services/ProcessStringService.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*********************************************************************/
2-
/* $Header: ProcessStringService.cs */
2+
/* File: ProcessStringService.cs */
33
/* */
44
/* Copyright (c) 2016-2026 nitishhsinghh. All rights reserved. */
55
/* This material may be reproduced for teaching and learning */
@@ -19,6 +19,8 @@
1919
/* Delegates conversion based on choice parameter */
2020
/* */
2121
/* $Log: ProcessStringService.cs */
22+
/* 1.0 11-Apr-2026 Nitish Singh */
23+
/* Initial revision. */
2224
/*********************************************************************/
2325

2426
using System;

0 commit comments

Comments
 (0)