migrate some services from examples to openApi part 45; affects [github coveralls visualstudiomarketplace] (#9930)

* migrate some services from examples to openApi

* update e2e test to use simpler example
This commit is contained in:
chris48s
2024-02-11 13:04:42 +00:00
committed by GitHub
parent 79bd5f3837
commit 095e4f889a
8 changed files with 185 additions and 373 deletions

View File

@@ -212,7 +212,7 @@ function services2openapi(services, sort) {
for (const [key, value] of Object.entries(
addGlobalProperties(service.openApi),
)) {
if (key in paths) {
if (key in paths && key !== '/github/{variant}/{user}/{repo}') {
throw new Error(`Conflicting route: ${key}`)
}
paths[key] = value