createSvixAppWithHttpInfo method

Future<Response> createSvixAppWithHttpInfo()

Create a Svix app

Create a Svix app and associate it with the current instance

Note: This method returns the HTTP Response.

Implementation

Future<http.Response> createSvixAppWithHttpInfo() async {
  // ignore: prefer_const_declarations
  final path = r'/webhooks/svix';

  // ignore: prefer_final_locals
  Object? postBody;

  final queryParams = <QueryParam>[];
  final headerParams = <String, String>{};
  final formParams = <String, String>{};

  const contentTypes = <String>[];

  return apiClient.invokeAPI(
    path,
    'POST',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
  );
}