@@ -12,7 +12,7 @@ namespace DocRaptor.Api
1212 /// <summary>
1313 /// Represents a collection of functions to interact with the API endpoints
1414 /// </summary>
15- public interface IClientApi
15+ public interface IDocApi
1616 {
1717
1818 /// <summary>
@@ -180,24 +180,24 @@ public interface IClientApi
180180 /// <summary>
181181 /// Represents a collection of functions to interact with the API endpoints
182182 /// </summary>
183- public class ClientApi : IClientApi
183+ public class DocApi : IDocApi
184184 {
185185 /// <summary>
186- /// Initializes a new instance of the <see cref="ClientApi "/> class.
186+ /// Initializes a new instance of the <see cref="DocApi "/> class.
187187 /// </summary>
188188 /// <returns></returns>
189- public ClientApi ( String basePath )
189+ public DocApi ( String basePath )
190190 {
191191 this . Configuration = new Configuration ( new ApiClient ( basePath ) ) ;
192192 }
193193
194194 /// <summary>
195- /// Initializes a new instance of the <see cref="ClientApi "/> class
195+ /// Initializes a new instance of the <see cref="DocApi "/> class
196196 /// using Configuration object
197197 /// </summary>
198198 /// <param name="configuration">An instance of Configuration</param>
199199 /// <returns></returns>
200- public ClientApi ( Configuration configuration = null )
200+ public DocApi ( Configuration configuration = null )
201201 {
202202 if ( configuration == null ) // use the default one in Configuration
203203 this . Configuration = Configuration . Default ;
@@ -274,7 +274,7 @@ public ApiResponse< AsyncDoc > CreateAsyncDocWithHttpInfo (Doc doc)
274274
275275 // verify the required parameter 'doc' is set
276276 if ( doc == null )
277- throw new ApiException ( 400 , "Missing required parameter 'doc' when calling ClientApi ->CreateAsyncDoc" ) ;
277+ throw new ApiException ( 400 , "Missing required parameter 'doc' when calling DocApi ->CreateAsyncDoc" ) ;
278278
279279
280280 var path_ = "/async_docs" ;
@@ -448,7 +448,7 @@ public ApiResponse< byte[] > CreateDocWithHttpInfo (Doc doc)
448448
449449 // verify the required parameter 'doc' is set
450450 if ( doc == null )
451- throw new ApiException ( 400 , "Missing required parameter 'doc' when calling ClientApi ->CreateDoc" ) ;
451+ throw new ApiException ( 400 , "Missing required parameter 'doc' when calling DocApi ->CreateDoc" ) ;
452452
453453
454454 var path_ = "/docs" ;
@@ -622,7 +622,7 @@ public ApiResponse< byte[] > GetAsyncDocWithHttpInfo (string id)
622622
623623 // verify the required parameter 'id' is set
624624 if ( id == null )
625- throw new ApiException ( 400 , "Missing required parameter 'id' when calling ClientApi ->GetAsyncDoc" ) ;
625+ throw new ApiException ( 400 , "Missing required parameter 'id' when calling DocApi ->GetAsyncDoc" ) ;
626626
627627
628628 var path_ = "/download/{id}" ;
@@ -790,7 +790,7 @@ public ApiResponse< AsyncDocStatus > GetAsyncDocStatusWithHttpInfo (string id)
790790
791791 // verify the required parameter 'id' is set
792792 if ( id == null )
793- throw new ApiException ( 400 , "Missing required parameter 'id' when calling ClientApi ->GetAsyncDocStatus" ) ;
793+ throw new ApiException ( 400 , "Missing required parameter 'id' when calling DocApi ->GetAsyncDocStatus" ) ;
794794
795795
796796 var path_ = "/status/{id}" ;
0 commit comments