docs(openapi): Document 404 related errors on acts and actor-builds endpoints#2308
docs(openapi): Document 404 related errors on acts and actor-builds endpoints#2308
acts and actor-builds endpoints#2308Conversation
|
Preview for this PR was built for commit |
2931bf4 to
e43a091
Compare
|
Preview for this PR was built for commit |
acts endpointsacts and actor-builds endpoints
a74a75f to
1cf995a
Compare
|
Preview for this PR was built for commit |
|
Preview for this PR was built for commit |
|
Preview for this PR was built for commit |
apify-api/openapi/components/schemas/common/errors/ActorErrors.yaml
Outdated
Show resolved
Hide resolved
|
Preview for this PR was built for commit |
janbuchar
left a comment
There was a problem hiding this comment.
One nit, one potential point for discussions. Nothing worth stalling this, so please accept my approval.
| content: | ||
| application/json: | ||
| schema: | ||
| oneOf: |
There was a problem hiding this comment.
This also seems redundant and the other files have it too 🙂
| enum: [actor-not-found] | ||
| message: | ||
| type: string | ||
| enum: [Actor was not found] |
There was a problem hiding this comment.
Although I like it, I'm not sure if this level of detail is necessary (declaring the exact text of every error response) 😁
Summary
(Done only for
actsandactor-buildsendpoints to limit the scope of the change. It should be done to all endpoints in follow-up PRs)Motivation
Example of granular 404s for an endpoint that relies on multiple resources:
Issues
Partially implements: #2286
Note
Cursor Bugbot is generating a summary for commit f16d5e5. Configure here.