Skip to content

Commit c8e880a

Browse files
♻️ Remove listing of programs (#7530)
On behalf of @bisgaard-itis
1 parent aac0abd commit c8e880a

File tree

2 files changed

+1
-32
lines changed

2 files changed

+1
-32
lines changed

services/api-server/openapi.json

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1256,37 +1256,6 @@
12561256
}
12571257
}
12581258
},
1259-
"/v0/programs": {
1260-
"get": {
1261-
"tags": [
1262-
"programs"
1263-
],
1264-
"summary": "List Programs",
1265-
"description": "Lists all available solvers (latest version)\n\nSEE get_solvers_page for paginated version of this function",
1266-
"operationId": "list_programs",
1267-
"responses": {
1268-
"200": {
1269-
"description": "Successful Response",
1270-
"content": {
1271-
"application/json": {
1272-
"schema": {
1273-
"items": {
1274-
"$ref": "#/components/schemas/Program"
1275-
},
1276-
"type": "array",
1277-
"title": "Response List Programs V0 Programs Get"
1278-
}
1279-
}
1280-
}
1281-
}
1282-
},
1283-
"security": [
1284-
{
1285-
"HTTPBasic": []
1286-
}
1287-
]
1288-
}
1289-
},
12901259
"/v0/programs/{program_key}/releases/{version}": {
12911260
"get": {
12921261
"tags": [

services/api-server/src/simcore_service_api_server/api/routes/programs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
router = APIRouter()
3535

3636

37-
@router.get("", response_model=list[Program])
37+
@router.get("", response_model=list[Program], include_in_schema=False)
3838
async def list_programs(
3939
user_id: Annotated[int, Depends(get_current_user_id)],
4040
catalog_client: Annotated[CatalogApi, Depends(get_api_client(CatalogApi))],

0 commit comments

Comments
 (0)