openapi: 3.0.0
info:
  title: 'Null Ref'
  version: '1.0'
paths:
  /api/refonly:
    get:
      operationId: refonly
      responses:
        '200':
          description: 'Ref response'
          content:
            application/json:
              schema:
                oneOf:
                  - { $ref: '#/components/schemas/repository' }
                nullable: true
  /api/refplus:
    get:
      operationId: refplus
      responses:
        '200':
          description: 'Ref plus response'
          content:
            application/json:
              schema:
                oneOf:
                  - { $ref: '#/components/schemas/repository' }
                nullable: true
                description: 'The repository'
components:
  schemas:
    repository: {  }
