Closed
Description
Schema Inaccuracy
The operations patch, delete of the PathItem "/repositories/{repository_id}/environments/{environment_name}/variables/{name}" in the description document https://github.com/github/rest-api-description/blob/main/descriptions/api.github.com/api.github.com.2022-11-28.yaml miss the Path variable environment_name.
Expected
The path variables are complete for the operations.
It would reduce duplication to have the path variables attached to the path instead of the operation.
Reproduction Steps
python3 -m venv /tmp/ghapi
/tmp/ghapi/bin/pip install git+https://github.com/commonism/aiopenapi3.git#aiopenapi3
/tmp/ghapi/bin/aiopenapi3 -v validate https://raw.githubusercontent.com/github/rest-api-description/main/descriptions/api.github.com/api.github.com.2022-11-28.yaml
…
aiopenapi3.errors.OperationParameterValidationError: ('/repositories/{repository_id}/environments/{environment_name}/variables/{name}', 'delete', 'actions/delete-environment-variable', 'Parameter name not found in parameters: environment_name')