Skip to content

Commit 0fb31ba

Browse files
committed
cleanup messages
1 parent a0310f5 commit 0fb31ba

File tree

2 files changed

+8
-17
lines changed

2 files changed

+8
-17
lines changed

services/api-server/openapi.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1423,7 +1423,7 @@
14231423
"solvers"
14241424
],
14251425
"summary": "List Solvers",
1426-
"description": "\ud83d\udea8 **Deprecated**: This endpoint is deprecated and will be removed in a future release.\nPlease use `GET /v0/solvers/page` instead.\n\n\n\nLists all available solvers (latest version)\n\nNew in *version 0.5.0*\n\nRemoved in *version 0.7*: This endpoint is deprecated and will be removed in a future version",
1426+
"description": "\ud83d\udea8 **Deprecated**: This endpoint is deprecated and will be removed in a future release.\nPlease use `GET /v0/solvers/page` instead.\n\n\n\nLists all available solvers (latest version)\n\nNew in *version 0.5.0*",
14271427
"operationId": "list_solvers",
14281428
"responses": {
14291429
"200": {
@@ -1514,7 +1514,7 @@
15141514
"solvers"
15151515
],
15161516
"summary": "Lists All Releases",
1517-
"description": "\ud83d\udea8 **Deprecated**: This endpoint is deprecated and will be removed in a future release.\nPlease use `GET /v0/solvers/{solver_key}/releases/page` instead.\n\n\n\nLists all released solvers (not just latest version)\n\nNew in *version 0.5.0*\n\nRemoved in *version 0.7*: This endpoint is deprecated and will be removed in a future version",
1517+
"description": "\ud83d\udea8 **Deprecated**: This endpoint is deprecated and will be removed in a future release.\nPlease use `GET /v0/solvers/{solver_key}/releases/page` instead.\n\n\n\nLists all released solvers (not just latest version)\n\nNew in *version 0.5.0*",
15181518
"operationId": "list_solvers_releases",
15191519
"responses": {
15201520
"200": {
@@ -1604,8 +1604,8 @@
16041604
"tags": [
16051605
"solvers"
16061606
],
1607-
"summary": "Get Latest Release of a Solver",
1608-
"description": "Gets latest release of a solver",
1607+
"summary": "Get Solver",
1608+
"description": "Gets latest release of a solver\n\nAdded in *version 0.7.1*: `version_display` field in the response",
16091609
"operationId": "get_solver",
16101610
"security": [
16111611
{
@@ -1714,7 +1714,7 @@
17141714
"solvers"
17151715
],
17161716
"summary": "List Solver Releases",
1717-
"description": "Lists all releases of a given (one) solver\n\nSEE get_solver_releases_page for a paginated version of this function",
1717+
"description": "Lists all releases of a given (one) solver\n\nAdded in *version 0.7.1*: `version_display` field in the response",
17181718
"operationId": "list_solver_releases",
17191719
"security": [
17201720
{
@@ -1827,7 +1827,7 @@
18271827
"solvers"
18281828
],
18291829
"summary": "Get Solver Release",
1830-
"description": "Gets a specific release of a solver",
1830+
"description": "Gets a specific release of a solver\n\nAdded in *version 0.7.1*: `version_display` field in the response",
18311831
"operationId": "get_solver_release",
18321832
"security": [
18331833
{
@@ -1946,7 +1946,7 @@
19461946
"solvers"
19471947
],
19481948
"summary": "List Solver Ports",
1949-
"description": "Lists inputs and outputs of a given solver\n\nNew in *version 0.5.0*",
1949+
"description": "Lists inputs and outputs of a given solver\n\nNew in *version 0.5.0*\n\nAdded in *version 0.7.1*: `version_display` field in the response",
19501950
"operationId": "list_solver_ports",
19511951
"security": [
19521952
{
@@ -2065,7 +2065,7 @@
20652065
"solvers"
20662066
],
20672067
"summary": "Get Solver Pricing Plan",
2068-
"description": "Gets solver pricing plan\n\nNew in *version 0.7*",
2068+
"description": "Gets solver pricing plan\n\nNew in *version 0.7*\n\nAdded in *version 0.7.1*: `version_display` field in the response",
20692069
"operationId": "get_solver_pricing_plan",
20702070
"security": [
20712071
{

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
from ._constants import (
2828
FMSG_CHANGELOG_ADDED_IN_VERSION,
2929
FMSG_CHANGELOG_NEW_IN_VERSION,
30-
FMSG_CHANGELOG_REMOVED_IN_VERSION_FORMAT,
3130
create_route_description,
3231
)
3332

@@ -57,10 +56,6 @@
5756
alternative="GET /v0/solvers/page",
5857
changelog=[
5958
FMSG_CHANGELOG_NEW_IN_VERSION.format("0.5.0", ""),
60-
FMSG_CHANGELOG_REMOVED_IN_VERSION_FORMAT.format(
61-
"0.7",
62-
"This endpoint is deprecated and will be removed in a future version",
63-
),
6459
],
6560
),
6661
)
@@ -123,10 +118,6 @@ async def get_solvers_page(
123118
alternative="GET /v0/solvers/{solver_key}/releases/page",
124119
changelog=[
125120
FMSG_CHANGELOG_NEW_IN_VERSION.format("0.5.0", ""),
126-
FMSG_CHANGELOG_REMOVED_IN_VERSION_FORMAT.format(
127-
"0.7",
128-
"This endpoint is deprecated and will be removed in a future version",
129-
),
130121
],
131122
),
132123
)

0 commit comments

Comments
 (0)