deleteSchemaVersion method
Delete the schema version 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.
Parameter schemaVersion
:
The version number of the schema
Implementation
Future<void> deleteSchemaVersion({
required String registryName,
required String schemaName,
required String schemaVersion,
}) async {
ArgumentError.checkNotNull(registryName, 'registryName');
ArgumentError.checkNotNull(schemaName, 'schemaName');
ArgumentError.checkNotNull(schemaVersion, 'schemaVersion');
await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/v1/registries/name/${Uri.encodeComponent(registryName)}/schemas/name/${Uri.encodeComponent(schemaName)}/version/${Uri.encodeComponent(schemaVersion)}',
exceptionFnMap: _exceptionFns,
);
}