openapi: 3.0.0
info:
  title: SMART Web Posts API
  version: 1.0.0
  description: Public API to retrieve recent blog posts from SMART Web.

servers:
  - url: https://www.sm-art-design.com/wp-json

paths:
  /smart/v1/posts:
    get:
      summary: Get recent public posts
      operationId: getPosts
      responses:
        '200':
          description: A list of public blog posts
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    title:
                      type: string
                    url:
                      type: string
                    excerpt:
                      type: string
                    date:
                      type: string
