Skip to content

Commit

Permalink
feat: mark jsonld sign and verify as deprecated
Browse files Browse the repository at this point in the history
The `/jsonld/sign` and `/jsonld/verify` endpoints will be removed in a
future version of ACA-Py.

Signed-off-by: Daniel Bluhm <[email protected]>
  • Loading branch information
dbluhm committed Oct 5, 2023
1 parent d6905a6 commit f72e67b
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions aries_cloudagent/messaging/jsonld/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,11 @@ class SignResponseSchema(OpenAPISchema):
error = fields.Str(required=False, metadata={"description": "Error text"})


@docs(tags=["jsonld"], summary="Sign a JSON-LD structure and return it")
@docs(
tags=["jsonld"],
summary="Sign a JSON-LD structure and return it",
deprecated=True,
)
@request_schema(SignRequestSchema())
@response_schema(SignResponseSchema(), 200, description="")
async def sign(request: web.BaseRequest):
Expand Down Expand Up @@ -119,7 +123,11 @@ class VerifyResponseSchema(OpenAPISchema):
error = fields.Str(required=False, metadata={"description": "Error text"})


@docs(tags=["jsonld"], summary="Verify a JSON-LD structure.")
@docs(
tags=["jsonld"],
summary="Verify a JSON-LD structure.",
deprecated=True,
)
@request_schema(VerifyRequestSchema())
@response_schema(VerifyResponseSchema(), 200, description="")
async def verify(request: web.BaseRequest):
Expand Down

0 comments on commit f72e67b

Please sign in to comment.