Post
'/posts'
POST
async create(
@requestBody({
content: {
'application/json': {
schema: getModelSchemaRef(Post, {
title: 'NewPost',
exclude: ['id'],
}),
},
},
})
post: Omit<Post, 'id'>,
): Promise<object>GET
PATCH
'/posts/count'
GET
'/posts/{id}'
GET
PATCH
PUT
DEL
'/posts/featured'
GET
Last updated