Skip to content

Commit

Permalink
fix spec
Browse files Browse the repository at this point in the history
  • Loading branch information
hperl committed Dec 20, 2024
1 parent d95d526 commit f354335
Show file tree
Hide file tree
Showing 6 changed files with 108 additions and 63 deletions.
6 changes: 6 additions & 0 deletions internal/httpclient/api/openapi.yaml

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

10 changes: 10 additions & 0 deletions internal/httpclient/api_relationship.go

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

130 changes: 67 additions & 63 deletions proto/ory/keto/relation_tuples/v1alpha2/write_service.pb.go

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

9 changes: 9 additions & 0 deletions proto/ory/keto/relation_tuples/v1alpha2/write_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,15 @@ service WriteService {
}
}
}
responses: {
key: "404";
value: {
description: "errorGeneric";
schema: {
json_schema: {ref: ".ory.keto.relation_tuples.v1alpha2.ErrorResponse"}
}
};
};
};
}

Expand Down
10 changes: 10 additions & 0 deletions spec/api.json
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,16 @@
}
},
"description": "errorGeneric"
},
"404": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/errorGeneric"
}
}
},
"description": "errorGeneric"
}
},
"summary": "Writes one or more relationships in a single transaction.",
Expand Down
6 changes: 6 additions & 0 deletions spec/api.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,12 @@
"schema": {
"$ref": "#/definitions/errorGeneric"
}
},
"404": {
"description": "errorGeneric",
"schema": {
"$ref": "#/definitions/errorGeneric"
}
}
},
"parameters": [
Expand Down

0 comments on commit f354335

Please sign in to comment.