@ApiTags("common")
@Controller("bbs/articles/:section")
export class BbsArticlesController {
/**
* Would be shown without any mark.
*
* @tag public Some description describing public group...
* @summary Public API
* @param section Section code
* @param input Content to store
* @returns Newly archived article
*/
@ApiTags("protected")
@TypedRoute.Post()
public async store(
@TypedParam("section") section: string,
@TypedBody() input: IBbsArticle.IStore,
): Promise<IBbsArticle> {
return {
...typia.random<IBbsArticle>(),
...input,
section,
};
}