openapi: 3.0.0
info:
  title: My API
  version: '0.1'
paths:
  /books/{bookId}:
    parameters:
      - in: path
        name: bookId
        required: true
        schema:
          default: xxx
    get:
      responses:
        '200':
          description: ok
