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 content: application/json: schema: $ref: '#/components/schemas/pet' # Should be 'Pet' (PascalCase) components: schemas: pet: # Should be 'Pet' (PascalCase) type: object required: - id - name properties: id: type: integer format: int64 name: type: string