Skip to content

docs(openapi): align glossary, spoken terms, admin and paging details with API behavior - #486

Open
BriannaDelgado wants to merge 3 commits into
mainfrom
docs/align-spec-with-backend
Open

BriannaDelgado wants to merge 3 commits into
mainfrom
docs/align-spec-with-backend

Conversation

@BriannaDelgado

@BriannaDelgado BriannaDelgado commented Nov 10, 2026 •

Copy link
Copy Markdown
Member

Corrects several spots where the OpenAPI spec's schemas differ from what the API does. Each change below is checked against the public-api backend.

Changes

  • Glossaries: dictionaries is no longer required when creating a multilingual glossary, since the backend accepts an empty glossary. entries_format no longer has a tsv default, because the backend has none, and "(default)" is dropped from its description.
  • Spoken terms: term_lists is no longer required on create.
  • Admin:
    • ApiKey.secret is documented. It is returned only when a key is created, and is null in every other response.
    • UsageBreakdown gains speech_to_speech_minutes.
    • /v2/admin/analytics/custom-tags documents its page_size parameter (1 to 1000; values outside that range get a 400).

openapi.json is regenerated from openapi.yaml.

The matching Kong gateway spec change is https://gitlab.com/deepl-org/deepl/clapi-track/kong-api/-/merge_requests/496.

🤖 Generated with Claude Code

… with API behavior

- Glossaries: creating a glossary without dictionaries is allowed, and
  entries_format has no default; a dictionary without it returns 400
- Spoken terms: term_lists is optional on create, and PATCH accepts at
  most one term list
- Admin API: document the key secret returned when creating a developer
  key, speech_to_speech_minutes in the usage breakdown, and the page_size
  parameter of the custom tag analytics endpoint
- Paging: translation memories reduce page_size above 100 to 100 instead
  of rejecting it, and style rule lists reduce page_size above 10 to 10

Regenerated openapi.json from openapi.yaml.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@BriannaDelgado BriannaDelgado self-assigned this Nov 10, 2026
@mintlify

mintlify Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
deepl-c950b784 🟢 Ready View Preview Nov 10, 2026, 8:56 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
…t changing

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

This branch was successfully deployed

1 active deployment
staging — 2e019539 Deployed Nov 10, 2026 by mintlify[bot]
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.

1 participant