-
Notifications
You must be signed in to change notification settings - Fork 262
Closed
Labels
help wantedstatus:no-recent-activityNo recent activity on this thread, about to be closedNo recent activity on this thread, about to be closedstatus:waiting-for-author-feedbackIssue that we've responded but needs author feedback to closeIssue that we've responded but needs author feedback to closetype:enhancementEnhancement request targeting an existing experienceEnhancement request targeting an existing experience
Description
Describe the bug
If I validate a OpenApi document which uses a OperationId twice with hidi 2.0.0, I do not get a validation error.
OpenApi File To Reproduce
openapi: 3.0.0
info:
title: Duplicate OperationId Example
version: 1.0.0
paths:
/users:
get:
summary: Get all users
operationId: getUsers
responses:
'200':
description: A list of users
/admins:
get:
summary: Get all admins
operationId: getUsers # <-- Duplicate operationId
responses:
'200':
description: A list of admins
Expected behavior
A validation error occurs and the duplicate OperationIds are pointed out.
Metadata
Metadata
Assignees
Labels
help wantedstatus:no-recent-activityNo recent activity on this thread, about to be closedNo recent activity on this thread, about to be closedstatus:waiting-for-author-feedbackIssue that we've responded but needs author feedback to closeIssue that we've responded but needs author feedback to closetype:enhancementEnhancement request targeting an existing experienceEnhancement request targeting an existing experience