---
title: "Discussion on \"operationId and tags in OpenAPI: naming conventions that keep generated SDKs and docs usable\" | Hashnode"
description: "Discussion on \"operationId and tags in OpenAPI: naming conventions that keep generated SDKs and docs usable\". operationId becomes the method name in every generated SDK and tags become the namespace and the docs sidebar, yet most specs treat both as afterthoughts. Duplicate ids, verb-first names, and a unique tag per endpoint produce unusable clients and a wall of operations. Here is a n"
url: "https://hashnode.com/posts/openapi-operationid-tags-naming-conventions-codegen/6aca077c6ef8eab2379c8a21"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [operationId and tags in OpenAPI: naming conventions that keep generated SDKs and docs usable](https://blogs.powerduck.com/openapi-operationid-tags-naming-conventions-codegen?utm_source=hashnode&utm_medium=feed)

operationId becomes the method name in every generated SDK and tags become the namespace and the docs sidebar, yet most specs treat both as afterthoughts. Duplicate ids, verb-first names, and a unique tag per endpoint produce unusable clients and a wall of operations. Here is a n

Oct 8 · 7 min read · blogs.powerduck.com  
Read the article

-   [#openapi](https://hashnode.com/tag/openapi)
-   [#codegen](https://hashnode.com/tag/codegen)
-   [#api-design](https://hashnode.com/tag/api-design)
-   [#best-practices](https://hashnode.com/tag/best-practices)

## Written by

[Powerduck](https://hashnode.com/@powerduck)

@powerduck · hon

  
[View profile](https://hashnode.com/@powerduck)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
