Skip to content

Commit f3035b1

Browse files
committed
feat: support for new dataspace versioning uri syntax
1 parent 76bf4d4 commit f3035b1

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

VirtualFinland.UserAPI/src/VirtualFinland.UsersAPI/Activities/Productizer/ProductizerController.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ public async Task<IActionResult> UpdateUser(UpdateUser.Command command)
6363
return Ok(await _mediator.Send(command));
6464
}
6565

66-
[HttpPost("productizer/draft/Person/BasicInformation")]
6766
[HttpPost("productizer/Person/BasicInformation_v0.1")]
67+
[HttpPost("productizer/Person/BasicInformation_v1.0")]
6868
[SwaggerOperation(Summary = "Get person basic information",
6969
Description = "Gets data product matching endpoint path from Testbed")]
7070
[ProducesResponseType(StatusCodes.Status200OK)]
@@ -90,8 +90,8 @@ public async Task<IActionResult> GetPersonBasicInformation()
9090
return Ok(result);
9191
}
9292

93-
[HttpPost("productizer/draft/Person/BasicInformation/Write")]
9493
[HttpPost("productizer/Person/BasicInformation/Write_v0.1")]
94+
[HttpPost("productizer/Person/BasicInformation/Write_v1.0")]
9595
[SwaggerOperation(Summary = "Update person basic information",
9696
Description = "Updates data product matching endpoint path from Testbed")]
9797
[ProducesResponseType(StatusCodes.Status200OK)]
@@ -103,8 +103,8 @@ public async Task<IActionResult> SaveOrUpdatePersonBasicInformation(
103103
return Ok(await _mediator.Send(command));
104104
}
105105

106-
[HttpPost("productizer/draft/Person/JobApplicantProfile")]
107106
[HttpPost("productizer/Person/JobApplicantProfile_v0.1")]
107+
[HttpPost("productizer/Person/JobApplicantProfile_v1.0")]
108108
[SwaggerOperation(Summary = "Get person job applicant profile",
109109
Description = "Gets data product matching endpoint path from Testbed")]
110110
[ProducesResponseType(StatusCodes.Status200OK)]
@@ -130,8 +130,8 @@ public async Task<IActionResult> GetPersonJobApplicantInformation()
130130
return Ok(result);
131131
}
132132

133-
[HttpPost("productizer/draft/Person/JobApplicantProfile/Write")]
134133
[HttpPost("productizer/Person/JobApplicantProfile/Write_v0.1")]
134+
[HttpPost("productizer/Person/JobApplicantProfile/Write_v1.0")]
135135
[SwaggerOperation(Summary = "Update person job applicant profile",
136136
Description = "Updates data product matching endpoint path from Testbed")]
137137
[ProducesResponseType(StatusCodes.Status200OK)]

0 commit comments

Comments
 (0)