Skip to content

Commit

Permalink
CR Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
N-o-Z committed Feb 20, 2024
1 parent 625c07a commit fc2b318
Show file tree
Hide file tree
Showing 38 changed files with 283 additions and 268 deletions.
30 changes: 16 additions & 14 deletions api/swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,17 @@ components:
description: delimiter used to group common prefixes by
schema:
type: string

IfNonMatch:
in: header
name: If-None-Match
description: |
Currently supports only "*" to allow uploading an object only if one doesn't exist yet.
example: "*"
required: false
schema:
type: string
pattern: '^\*$' # Currently, only "*" is supported

responses:
NotFoundOrNoACL:
Expand Down Expand Up @@ -1299,9 +1310,6 @@ components:
force:
type: boolean
default: false
if_absent:
type: boolean
default: false
required:
- staging
- checksum
Expand Down Expand Up @@ -4167,6 +4175,10 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/StagingMetadata"

parameters:
- $ref: "#/components/parameters/IfNonMatch"

responses:
200:
# This actually violates HTTP, which requires returning 201 if a new object was
Expand Down Expand Up @@ -4400,24 +4412,14 @@ paths:
format: binary

parameters:
- $ref: "#/components/parameters/IfNonMatch"
- in: query
name: storageClass
description: Deprecated, this capability will not be supported in future releases.
required: false
deprecated: true
schema:
type: string
- in: header
name: If-None-Match
description: |
Currently supports only "*" to allow uploading an object only if one doesn't exist yet.
Deprecated, this capability will not be supported in future releases.
example: "*"
required: false
deprecated: true
schema:
type: string
pattern: '^\*$' # Currently, only "*" is supported
- in: query
name: force
required: false
Expand Down
49 changes: 33 additions & 16 deletions clients/java-legacy/api/openapi.yaml

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

8 changes: 4 additions & 4 deletions clients/java-legacy/docs/ObjectsApi.md

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

6 changes: 4 additions & 2 deletions clients/java-legacy/docs/StagingApi.md

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

1 change: 0 additions & 1 deletion clients/java-legacy/docs/StagingMetadata.md

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

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

Loading

0 comments on commit fc2b318

Please sign in to comment.