mirror of
https://github.com/LukeHagar/aperture.git
synced 2025-12-06 04:19:09 +00:00
Initial commit of the Aperture VS Code extension, including core functionality for OpenAPI JSON/YAML IntelliSense, custom linting rules, and comprehensive test scenarios. Added configuration files, package dependencies, and example OpenAPI documents.
This commit is contained in:
19
examples/invalid-duplicate-operation-id.yaml
Normal file
19
examples/invalid-duplicate-operation-id.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
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
|
||||
Reference in New Issue
Block a user