Q&A (please complete the following information)
- Method of installation: Public hosted Testing
- Swagger-Editor version: Public hosted @ https://editor.swagger.io
- Swagger/OpenAPI version: OpenAPI 3.0
Content & configuration
Example Swagger/OpenAPI definition:
openapi: 3.0.1
info:
title: Foo OpenApi Spec
version: 1.0.0
servers:
- url: 'https://localhost/BasePath'
paths:
'/Account/{id}':
get:
description: |-
operationId: Account1
parameters:
- name: id
in: path
allowEmptyValue: true
schema:
type: integer
format: int32
responses:
'200':
description: |-
Swagger-Editor configuration options:
n/a - using editor.swagger.io as a validator
Describe the bug you're encountering
Validation error of OpenApi schema - within an OperationObject, a ParametersObject doesn't accept in: path as a valid location
To reproduce...
- Paste the above YAML into the editor on editor.swagger.io
- Read the Errors on the right side
Expected behavior
No validation Errors and for "path" to be an acceptable "in" location
Screenshots

Q&A (please complete the following information)
Content & configuration
Example Swagger/OpenAPI definition:
Swagger-Editor configuration options:
n/a - using editor.swagger.io as a validator
Describe the bug you're encountering
Validation error of OpenApi schema - within an OperationObject, a ParametersObject doesn't accept in: path as a valid location
To reproduce...
Expected behavior
No validation Errors and for "path" to be an acceptable "in" location
Screenshots