GET
/posts/{id}
curl \
-X GET https://api.example.com/v1/posts/{id}
Response examples (200)
{
"userId": 1,
"id": 1,
"title": "The First Post",
"body": "we are building a blog post API using OpenAPI Specification."
}
Response examples (200)
{
"id": 1,
"body": "we are building a blog post API using OpenAPI Specification.",
"title": "The First Post",
"userId": 1
}