Update ADDING_TOOLS.md

Co-authored-by: James Brunton <jbrunton96@gmail.com>
This commit is contained in:
Anthony Stirling 2025-09-04 11:25:46 +01:00 committed by GitHub
parent 51e205f4d7
commit ac8831e904
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -62,7 +62,7 @@ export const build[ToolName]FormData = (parameters: [ToolName]Parameters, file:
}; };
export const [toolName]OperationConfig = { export const [toolName]OperationConfig = {
toolType: ToolType.singleFile, // or ToolType.multiFile toolType: ToolType.singleFile, // or ToolType.multiFile (buildFormData's file parameter will need to be updated)
buildFormData: build[ToolName]FormData, buildFormData: build[ToolName]FormData,
operationType: '[toolName]', operationType: '[toolName]',
endpoint: '/api/v1/category/endpoint-name', endpoint: '/api/v1/category/endpoint-name',