omit method from swagger

This commit is contained in:
RavilGismatullin 2024-08-19 18:27:54 +04:00
parent c48aa77d13
commit 506aac2e22

View File

@ -67,7 +67,7 @@ namespace ServiceStationRestAPI.Controllers {
} }
} }
[HttpPost] [ApiExplorerSettings(IgnoreApi = true)]
public WorkBindingModel Make_New_Record_Work(WorkFromWebBindingModel model) { public WorkBindingModel Make_New_Record_Work(WorkFromWebBindingModel model) {
var record = new WorkBindingModel { var record = new WorkBindingModel {
Id = model.Id, Id = model.Id,
@ -169,7 +169,7 @@ namespace ServiceStationRestAPI.Controllers {
// todo Post method -- AddClientPoints // todo Post method -- AddClientPoints
[HttpPost] [ApiExplorerSettings(IgnoreApi = true)]
public List<int> Make_Report_Ids(string _ids) { public List<int> Make_Report_Ids(string _ids) {
var ids = new List<int>(); var ids = new List<int>();
foreach (char id in _ids) { foreach (char id in _ids) {