deleteSchema method

Future<void> deleteSchema({
  1. required String registryName,
  2. required String schemaName,
})

Delete a schema definition.

May throw BadRequestException. May throw UnauthorizedException. May throw InternalServerErrorException. May throw ForbiddenException. May throw NotFoundException. May throw ServiceUnavailableException.

Parameter registryName : The name of the registry.

Parameter schemaName : The name of the schema.

Implementation

Future<void> deleteSchema({
  required String registryName,
  required String schemaName,
}) async {
  ArgumentError.checkNotNull(registryName, 'registryName');
  ArgumentError.checkNotNull(schemaName, 'schemaName');
  await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/v1/registries/name/${Uri.encodeComponent(registryName)}/schemas/name/${Uri.encodeComponent(schemaName)}',
    exceptionFnMap: _exceptionFns,
  );
}