Skip to content

Commit

Permalink
chore: cleanup deprecated endpoints (#2949)
Browse files Browse the repository at this point in the history
  • Loading branch information
schoren committed Jul 17, 2023
1 parent 1c7b6a8 commit ebe8406
Show file tree
Hide file tree
Showing 14 changed files with 26 additions and 1,044 deletions.
43 changes: 1 addition & 42 deletions api/openapi.yaml
Expand Up @@ -6,31 +6,6 @@ info:
servers:
- url: /api
paths:
/definition.yaml:
post:
tags:
- api
summary: "Execute a definition"
description: "Execute a definition"
operationId: executeDefinition
requestBody:
content:
text/json:
schema:
$ref: "./definition.yaml#/components/schemas/TextDefinition"
responses:
201:
description: Definition created
content:
application/json:
schema:
$ref: "./definition.yaml#/components/schemas/ExecuteDefinitionResponse"
200:
description: Definition updated
content:
application/json:
schema:
$ref: "./definition.yaml#/components/schemas/ExecuteDefinitionResponse"
# Transactions
/transactions:
get:
Expand Down Expand Up @@ -183,23 +158,7 @@ paths:
$ref: "./transactions.yaml#/components/schemas/Transaction"
500:
description: "problem with getting a test"
/transactions/{transactionId}/version/{version}/definition.yaml:
get:
tags:
- api
parameters:
- $ref: "./parameters.yaml#/components/parameters/transactionId"
- $ref: "./parameters.yaml#/components/parameters/version"
summary: Get the transaction definition as an YAML file
description: Get the transaction as an YAML file
operationId: getTransactionVersionDefinitionFile
responses:
200:
description: OK
content:
application/yaml:
schema:
type: string

/transactions/{transactionId}/run:
post:
tags:
Expand Down
216 changes: 0 additions & 216 deletions cli/openapi/api_api.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ebe8406

Please sign in to comment.