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 Apr 7, 2022
1 parent c13b196 commit d5d5ae5
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions docs/reference/openapi-rules.md
Original file line number Diff line number Diff line change
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 d5d5ae5

Please sign in to comment.