Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tasks reader: get method #50

Merged
merged 2 commits into from
Nov 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions api/api.swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ info:
version: version not set
tags:
- name: TasksWriterService
- name: TasksReaderService
consumes:
- application/json
produces:
Expand Down Expand Up @@ -33,6 +34,27 @@ paths:
- task
tags:
- TasksWriterService
/v1/tasks/{id}:
get:
summary: GetTask returns a Task.
operationId: TasksReaderService_GetTask
responses:
"200":
description: A successful response.
schema:
$ref: '#/definitions/v1Task'
default:
description: An unexpected error response.
schema:
$ref: '#/definitions/rpcStatus'
parameters:
- name: id
in: path
required: true
type: string
format: int64
tags:
- TasksReaderService
definitions:
protobufAny:
type: object
Expand Down
135 changes: 104 additions & 31 deletions api/tasks/v1/tasks.pb.go

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

157 changes: 157 additions & 0 deletions api/tasks/v1/tasks.pb.gw.go

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

Loading
Loading