Skip to content

Update REST API header names#1183

Open
BharatDeva wants to merge 1 commit into
timeplus-io:developfrom
BharatDeva:fix/rest-api-timeplus-headers
Open

Update REST API header names#1183
BharatDeva wants to merge 1 commit into
timeplus-io:developfrom
BharatDeva:fix/rest-api-timeplus-headers

Conversation

@BharatDeva
Copy link
Copy Markdown

PR checklist:

  • Did you run ClangFormat ? Not run; this only changes REST API YAML specs.
  • Did you separate headers to a different section in existing community code base ? Not applicable.
  • Did you surround proton: starts/ends for new code in existing community code base ? Not applicable.

Please write user-readable short description of the changes:

This updates the REST API spec to use the current x-timeplus-* header names instead of the older x-proton-* names.

The server already accepts and emits x-timeplus-* headers in the REST handlers. This keeps the OpenAPI spec aligned with that behavior and cleans up the remaining stale header names under spec/rest-api.

Validation performed:

rg -n x-proton spec/rest-api -g *.yaml

Result: no matches.

git show --check --oneline --summary HEAD

Result:

d8cfc1a5 Update REST API header names

Fixes #728

@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clean up x-proton headers in Rest API spec and Proton SDKs

2 participants