openapi: 3.0.0
info:
  title: Contact Form API
  version: 1.0.0
paths:
  /contact:
    post:
      summary: Submit a contact form
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                email:
                  type: string
                  format: email
                message:
                  type: string
      responses:
        '200':
          description: Form submission successful
        '400':
          description: Invalid request
