Skip to content

Commit

Permalink
Mark all classic gov endpoints as deprecated in generated OpenAPI (#6355
Browse files Browse the repository at this point in the history
)
  • Loading branch information
eddyashton authored Jul 11, 2024
1 parent 9ccd693 commit 23f2d29
Show file tree
Hide file tree
Showing 9 changed files with 154 additions and 35 deletions.
6 changes: 3 additions & 3 deletions doc/schemas/app_openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@
"info": {
"description": "This CCF sample app implements a simple logging application, securely recording messages at client-specified IDs. It demonstrates most of the features available to CCF apps.",
"title": "CCF Sample Logging App",
"version": "2.4.1"
"version": "2.4.2"
},
"openapi": "3.0.0",
"paths": {
Expand Down Expand Up @@ -294,7 +294,7 @@
"/app/code": {
"get": {
"deprecated": true,
"description": "Permitted SGX code identities",
"description": "This endpoint is deprecated from 5.0.0. It is replaced by GET /gov/service/join-policy",
"operationId": "GetAppCode",
"responses": {
"200": {
Expand All @@ -311,7 +311,7 @@
"$ref": "#/components/responses/default"
}
},
"summary": "This endpoint is deprecated. It is replaced by /gov/kv/nodes/code_ids endpoint",
"summary": "Permitted SGX code identities",
"x-ccf-forwarding": {
"$ref": "#/components/x-ccf-forwarding/sometimes"
}
Expand Down
Loading

0 comments on commit 23f2d29

Please sign in to comment.