Skip to content

Commit

Permalink
feat(rulesets): add docs for new openapi rule
Browse files Browse the repository at this point in the history
  • Loading branch information
magicmatatjahu committed May 19, 2022
1 parent 7f36799 commit 7765b22
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions docs/reference/openapi-rules.md
Expand Up @@ -250,6 +250,28 @@ tags:
- name: "Badger"
```

### asyncapi-tags-uniqueness

OpenAPI object should have non-duplicated tag names (identifiers).

**Recommended:** Yes

**Bad Example**

```yaml
tags:
- name: "Badger"
- name: "Badger"
```

**Good Example**

```yaml
tags:
- name: "Aardvark"
- name: "Badger"
```

### openapi-tags

OpenAPI object should have non-empty `tags` array.
Expand Down

0 comments on commit 7765b22

Please sign in to comment.