You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
paths:
/student/{id}:
get:
parameters:
- in: path
name: id # Note the name is the same as in the path
required: true
schema:
type: string
pattern: A..Z a..z 0..9 . _ -
minimum: 1
Changed Schema
paths:
/student/{username}:
get:
parameters:
- in: path
name: username # Note the name is the same as in the path
required: true
schema:
type: integer
minimum: 1
The URI [/student/{id} & /student/{username} ] are (technically) same, BUT The parameters are different (id & username)
The schema differs (one takes in string & another integer)
RunningOpenApiCompare does not detect any changes.
Keeping the URI parameters the same and changing the schema does trigger change detection.
The text was updated successfully, but these errors were encountered:
Old Schema
Changed Schema
The URI [
/student/{id}
&/student/{username}
] are (technically) same,BUT The parameters are different (
id
&username
)The
schema
differs (one takes instring
& anotherinteger
)Running
OpenApiCompare
does not detect any changes.Keeping the URI parameters the same and changing the schema does trigger change detection.
The text was updated successfully, but these errors were encountered: