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

WIP: first draft for conditional headers #12

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
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
18 changes: 18 additions & 0 deletions src/main/openapi/common/v1/common-v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@ components:
name: select
schema:
type: string
IfNoneMatch:
description: RFC7232 header field that makes a GET or HEAD request method conditional.
in: header
name: If-None-Match
schema:
type: string
example: W/"xy", "5", "7da7a728-f910-11e6-942a-68f728c1ba70"
responses:
HealthUpOrDegradedResponse:
description: The service is UP or DEGRADED
Expand Down Expand Up @@ -167,3 +174,14 @@ components:
type: string
required:
- status
headers:
Etag:
description: >
Identifier for a specific version of a resource.
The RFC7232 ETag header field in a response provides the current entity-
tag for the selected resource. An entity-tag is an opaque identifier for
different versions of a resource over time, regardless whether multiple
versions are valid at the same time. An entity-tag consists of an opaque
quoted string, possibly prefixed by a weakness indicator.
schema:
type: string
Loading