Skip to content

Fix authorization token parameter name#48

Merged
bgelatti merged 1 commit intomainfrom
fixNameAuthorizationToken
Apr 6, 2026
Merged

Fix authorization token parameter name#48
bgelatti merged 1 commit intomainfrom
fixNameAuthorizationToken

Conversation

@bgelatti
Copy link
Copy Markdown
Collaborator

@bgelatti bgelatti commented Apr 2, 2026

Problem

The authorization-token query parameter in the Network API endpoint used hyphens instead of underscores, which was inconsistent with the actual API behavior.

Investigation

The OpenAPI spec (tagoio-api.yaml) defined the parameter name as authorization-token with hyphens, and this propagated to the generated API docs (send-data-using-network.api.mdx).

Solution

Renamed the parameter from authorization-token to authorization_token in both the OpenAPI spec and the generated API documentation to match the correct parameter name.

Change query parameter name from authorization-token to authorization_token
in the OpenAPI spec and generated API docs.
@bgelatti bgelatti requested review from felipefdl and vitorfdl April 2, 2026 20:27
@bgelatti bgelatti merged commit 614d0f6 into main Apr 6, 2026
1 check passed
@bgelatti bgelatti deleted the fixNameAuthorizationToken branch April 6, 2026 12:03
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.

2 participants