text: /**
   * OpenAPI Petstore
   * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
   *
   * The version of the OpenAPI document: 1.0.0
   * 
   *
   * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
   * https://openapi-generator.tech
   * Do not edit the class manually.
   *
   */
  
  
  import ApiClient from "../ApiClient";
  import InlineResponseDefault from '../model/InlineResponseDefault';
  
  /**
  * Default service.
  * @module api/DefaultApi
  * @version 1.0.0
  */
  export default class DefaultApi {
  
      /**
      * Constructs a new DefaultApi. 
      * @alias module:api/DefaultApi
      * @class
      * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
      * default to {@link module:ApiClient#instance} if unspecified.
      */
      constructor(apiClient) {
          this.apiClient = apiClient || ApiClient.instance;
      }
  
  
      /**
       * Callback function to receive the result of the fooGet operation.
       * @callback module:api/DefaultApi~fooGetCallback
       * @param {String} error Error message, if any.
       * @param {module:model/InlineResponseDefault} data The data returned by the service call.
       * @param {String} response The complete HTTP response.
       */
  
      /**
       * @param {module:api/DefaultApi~fooGetCallback} callback The callback function, accepting three arguments: error, data, response
       * data is of type: {@link module:model/InlineResponseDefault}
       */
      fooGet(callback) {
        let postBody = null;
  
        let pathParams = {
        };
        let queryParams = {
        };
        let headerParams = {
        };
        let formParams = {
        };
  
        let authNames = [];
        let contentTypes = [];
        let accepts = ['application/json'];
        let returnType = InlineResponseDefault;
        return this.apiClient.callApi(
          '/foo', 'GET',
          pathParams, queryParams, headerParams, formParams, postBody,
          authNames, contentTypes, accepts, returnType, null, callback
        );
      }
  
  
  }
  