aspnetcore.icontroller.mustache Maven / Gradle / Ivy
{{>partial_header}}
using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json;
using System.ComponentModel.DataAnnotations;
using {{packageName}}.Models;
namespace {{packageName}}.Controllers
{ {{#operations}}
///
/// {{description}}
/// {{#description}}
[Description("{{description}}")]{{/description}}
public interface I{{classname}}Controller
{ {{#operation}}
///
/// {{#summary}}{{summary}}{{/summary}}
///
{{#notes}}/// {{notes}} {{/notes}}{{#allParams}}
/// {{description}}{{/allParams}}{{#responses}}
/// {{message}} {{/responses}}
IActionResult {{operationId}}({{#allParams}}{{>pathParam}}{{>queryParam}}{{>bodyParam}}{{>formParam}}{{>headerParam}}{{#hasMore}}, {{/hasMore}}{{/allParams}});
{{/operation}}
}
{{/operations}}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy