action.createParam(PARAM_EXPORTER_KEY)
.setDescription("Output format. If left empty, the same format as api/qualityprofiles/backup is used. " +
"Possible values are described by api/qualityprofiles/exporters.")
- .setPossibleValues(exporterKeys)
- // This deprecated key is only there to be able to deal with redirection from /profiles/export
- .setDeprecatedKey("format", "6.3");
+ .setPossibleValues(exporterKeys);
}
}
assertThat(definition.params()).extracting("key").containsExactlyInAnyOrder("language", "qualityProfile", "exporterKey");
WebService.Param exportersParam = definition.param("exporterKey");
assertThat(exportersParam.possibleValues()).containsOnly("polop", "palap");
- assertThat(exportersParam.deprecatedKey()).isEqualTo("format");
- assertThat(exportersParam.deprecatedKeySince()).isEqualTo("6.3");
assertThat(exportersParam.isInternal()).isFalse();
}