openapi: 3.0.3
info:
  title: Services API
  version: 1.0.0
servers:
  - url: https://api.example.com/v1
paths:
  /services/{id}:
    get:
      operationId: getService
      summary: Get a service
      description: Return the details of an existing service by its identifier.
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            minLength: 1
        - name: locale
          in: query
          schema:
            type: string
            enum: [en, ar]
      responses:
        '200':
          description: Service details
