text: //
  // SPDX-FileCopyrightText: 2020 SAP SE or an SAP affiliate company and Gardener contributors
  //
  // SPDX-License-Identifier: Apache-2.0
  //
  
  'use strict'
  
  const HttpClient = require('../HttpClient')
  const { http } = require('../symbols')
  
  class OpenAPI extends HttpClient {
    constructor (options) {
      super({ ...options, responseType: 'json' })
    }
  
    get () {
      return this[http.request]('openapi/v2', { method: 'get' })
    }
  }
  
  module.exports = OpenAPI
  