Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
### Added

### Fixed

* [ALFREDAPI-587](https://xenitsupport.jira.com/browse/ALFREDAPI-587): Remove non-existant Swagger endpoints from documentation.

## 6.1.2 (2025-11-06)

Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,10 @@ public ResponseEntity<?> getWorkingCopySource(@PathVariable final String space,
NodeRef originalRef = nodeService.getWorkingCopySource(workingCopyRef);
return writeJsonResponse(new NoderefResult(originalRef));
}

return respondDoesNotExist(workingCopyRef);
}

private ResponseEntity<?> respondDoesNotExist(NodeRef nodeRef) {
return ResponseEntity.status(HttpStatus.NOT_FOUND)
.body(String.format(String.format("%s does not exist.", nodeRef)));
return ResponseEntity.status(HttpStatus.NOT_FOUND).body(String.format("%s does not exist.", nodeRef));
}
}
}

This file was deleted.

39 changes: 1 addition & 38 deletions docs/swagger-ui/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"info": {
"description": "This is the swagger specification for Alfred REST API\n\nExamples can be found at: https://docs.xenit.eu/alfred-api",
"version": "6.1.3",
"title": "Alfred REST Api",
"title": "Alfred REST API",
"contact": {
"name": "XeniT",
"url": "http://www.xenit.eu",
Expand Down Expand Up @@ -36,10 +36,6 @@
"name": "Dictionary",
"description": "Retrieves Dictionary information"
},
{
"name": "Documentation",
"description": "Access API Documentation"
},
{
"name": "General",
"description": "General API operations"
Expand Down Expand Up @@ -496,39 +492,6 @@
}
}
},
"/v1/docs/swagger.json": {
"get": {
"tags": [
"Documentation"
],
"summary": "The Swagger Spec for Alfred API",
"description": "",
"operationId": "v1.getDocumentation",
"parameters": [],
"responses": {
"200": {
"description": "Success"
}
}
}
},
"/v1/docs/ui": {
"get": {
"tags": [
"Documentation"
],
"summary": "Shows this swagger spec in a user interface",
"parameters": [],
"responses": {
"200": {
"description": "Swagger UI interface",
"schema": {
"type": "file"
}
}
}
}
},
"/v1/nodes": {
"post": {
"tags": [
Expand Down
Loading