Skip to content

Commit

Permalink
RHINENG-3104: deprecate v1 and v2 openapi specs
Browse files Browse the repository at this point in the history
  • Loading branch information
psegedy committed Nov 10, 2023
1 parent d3e32d6 commit 44cb6b9
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 0 deletions.
28 changes: 28 additions & 0 deletions docs/v1/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"paths": {
"/api/patch/v1/advisories": {
"get": {
"deprecated": true,
"summary": "Show me all applicable advisories for all my systems",
"description": "Show me all applicable advisories for all my systems",
"operationId": "listAdvisories",
Expand Down Expand Up @@ -244,6 +245,7 @@
},
"/api/patch/v1/advisories/{advisory_id}": {
"get": {
"deprecated": true,
"summary": "Show me details an advisory by given advisory name",
"description": "Show me details an advisory by given advisory name",
"operationId": "detailAdvisory",
Expand Down Expand Up @@ -310,6 +312,7 @@
},
"/api/patch/v1/advisories/{advisory_id}/systems": {
"get": {
"deprecated": true,
"summary": "Show me systems on which the given advisory is applicable",
"description": "Show me systems on which the given advisory is applicable",
"operationId": "listAdvisorySystems",
Expand Down Expand Up @@ -628,6 +631,7 @@
},
"/api/patch/v1/baselines": {
"get": {
"deprecated": true,
"summary": "Show me all baselines for all my systems",
"description": "Show me all baselines for all my systems",
"operationId": "listBaseline",
Expand Down Expand Up @@ -746,6 +750,7 @@
]
},
"put": {
"deprecated": true,
"summary": "Create a baseline for my set of systems",
"description": "Create a baseline for my set of systems",
"operationId": "createBaseline",
Expand Down Expand Up @@ -812,6 +817,7 @@
},
"/api/patch/v1/baselines/systems/remove": {
"post": {
"deprecated": true,
"summary": "Remove systems from baseline",
"description": "Remove systems from baseline",
"operationId": "removeBaselineSystems",
Expand Down Expand Up @@ -872,6 +878,7 @@
},
"/api/patch/v1/baselines/{baseline_id}": {
"get": {
"deprecated": true,
"summary": "Show baseline detail by given baseline ID",
"description": "Show baseline detail by given baseline ID",
"operationId": "detailBaseline",
Expand Down Expand Up @@ -935,6 +942,7 @@
]
},
"put": {
"deprecated": true,
"summary": "Update a baseline for my set of systems",
"description": "Update a baseline for my set of systems",
"operationId": "updateBaseline",
Expand Down Expand Up @@ -1010,6 +1018,7 @@
"x-codegen-request-body-name": "body"
},
"delete": {
"deprecated": true,
"summary": "Delete a baseline",
"description": "Delete a baseline",
"operationId": "baselineDelete",
Expand Down Expand Up @@ -1075,6 +1084,7 @@
},
"/api/patch/v1/baselines/{baseline_id}/systems": {
"get": {
"deprecated": true,
"summary": "Show me all systems belonging to a baseline",
"description": "Show me all systems applicable to a baseline",
"operationId": "listBaselineSystems",
Expand Down Expand Up @@ -1198,6 +1208,7 @@
},
"/api/patch/v1/export/advisories": {
"get": {
"deprecated": true,
"summary": "Export applicable advisories for all my systems",
"description": "Export applicable advisories for all my systems",
"operationId": "exportAdvisories",
Expand Down Expand Up @@ -1337,6 +1348,7 @@
},
"/api/patch/v1/export/advisories/{advisory_id}/systems": {
"get": {
"deprecated": true,
"summary": "Export systems for my account",
"description": "Export systems for my account",
"operationId": "exportAdvisorySystems",
Expand Down Expand Up @@ -1637,6 +1649,7 @@
},
"/api/patch/v1/export/packages": {
"get": {
"deprecated": true,
"summary": "Show me all installed packages across my systems",
"description": "Show me all installed packages across my systems",
"operationId": "exportPackages",
Expand Down Expand Up @@ -1758,6 +1771,7 @@
},
"/api/patch/v1/export/packages/{package_name}/systems": {
"get": {
"deprecated": true,
"summary": "Show me all my systems which have a package installed",
"description": "Show me all my systems which have a package installed",
"operationId": "exportPackageSystems",
Expand Down Expand Up @@ -1902,6 +1916,7 @@
},
"/api/patch/v1/export/systems": {
"get": {
"deprecated": true,
"summary": "Export systems for my account",
"description": "Export systems for my account",
"operationId": "exportSystems",
Expand Down Expand Up @@ -2171,6 +2186,7 @@
},
"/api/patch/v1/export/systems/{inventory_id}/advisories": {
"get": {
"deprecated": true,
"summary": "Export applicable advisories for all my systems",
"description": "Export applicable advisories for all my systems",
"operationId": "exportSystemAdvisories",
Expand Down Expand Up @@ -2341,6 +2357,7 @@
},
"/api/patch/v1/export/systems/{inventory_id}/packages": {
"get": {
"deprecated": true,
"summary": "Show me details about a system packages by given inventory id",
"description": "Show me details about a system packages by given inventory id",
"operationId": "exportSystemPackages",
Expand Down Expand Up @@ -2467,6 +2484,7 @@
},
"/api/patch/v1/packages/": {
"get": {
"deprecated": true,
"summary": "Show me all installed packages across my systems",
"description": "Show me all installed packages across my systems",
"operationId": "listPackages",
Expand Down Expand Up @@ -2659,6 +2677,7 @@
},
"/api/patch/v1/packages/{package_name}": {
"get": {
"deprecated": true,
"summary": "Show me metadata of selected package",
"description": "Show me metadata of selected package",
"operationId": "LatestPackage",
Expand Down Expand Up @@ -2724,6 +2743,7 @@
},
"/api/patch/v1/packages/{package_name}/systems": {
"get": {
"deprecated": true,
"summary": "Show me all my systems which have a package installed",
"description": "Show me all my systems which have a package installed",
"operationId": "packageSystems",
Expand Down Expand Up @@ -2871,6 +2891,7 @@
},
"/api/patch/v1/packages/{package_name}/versions": {
"get": {
"deprecated": true,
"summary": "Show me all package versions installed on some system",
"description": "Show me all package versions installed on some system",
"operationId": "packageVersions",
Expand Down Expand Up @@ -2952,6 +2973,7 @@
},
"/api/patch/v1/systems": {
"get": {
"deprecated": true,
"summary": "Show me all my systems",
"description": "Show me all my systems",
"operationId": "listSystems",
Expand Down Expand Up @@ -3277,6 +3299,7 @@
},
"/api/patch/v1/systems/{inventory_id}": {
"get": {
"deprecated": true,
"summary": "Show me details about a system by given inventory id",
"description": "Show me details about a system by given inventory id",
"operationId": "detailSystem",
Expand Down Expand Up @@ -3340,6 +3363,7 @@
]
},
"delete": {
"deprecated": true,
"summary": "Delete system by inventory id",
"description": "Delete system by inventory id",
"operationId": "deletesystem",
Expand Down Expand Up @@ -3399,6 +3423,7 @@
},
"/api/patch/v1/systems/{inventory_id}/advisories": {
"get": {
"deprecated": true,
"summary": "Show me advisories for a system by given inventory id",
"description": "Show me advisories for a system by given inventory id",
"operationId": "listSystemAdvisories",
Expand Down Expand Up @@ -3559,6 +3584,7 @@
},
"/api/patch/v1/systems/{inventory_id}/packages": {
"get": {
"deprecated": true,
"summary": "Show me details about a system packages by given inventory id",
"description": "Show me details about a system packages by given inventory id",
"operationId": "systemPackages",
Expand Down Expand Up @@ -3688,6 +3714,7 @@
},
"/api/patch/v1/views/advisories/systems": {
"post": {
"deprecated": true,
"summary": "View advisory-system pairs for selected systems and advisories",
"description": "View advisory-system pairs for selected systems and advisories",
"operationId": "viewAdvisoriesSystems",
Expand Down Expand Up @@ -3744,6 +3771,7 @@
},
"/api/patch/v1/views/systems/advisories": {
"post": {
"deprecated": true,
"summary": "View system-advisory pairs for selected systems and advisories",
"description": "View system-advisory pairs for selected systems and advisories",
"operationId": "viewSystemsAdvisories",
Expand Down
Loading

0 comments on commit 44cb6b9

Please sign in to comment.