Files
aperture/examples/invalid-duplicate-operation-id.yaml

20 lines
441 B
YAML

openapi: 3.2.0
info:
title: Pet Store API
version: 1.0.0
paths:
/pets:
get:
summary: List all pets
operationId: listPets
responses:
'200':
description: A paged array of pets
/animals:
get:
summary: List all animals
operationId: listPets # Duplicate operationId - should trigger operation-id rule
responses:
'200':
description: A paged array of animals