1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00
unleash.unleash/src/lib/routes
Gastón Fournier 75c15e5cac
fix: proper aggregation of strategies (#4456)
## About the changes
Open API is creating 2 resources under the same URL path, we want them
aggregated:
```shell
$ curl -s https://us.app.unleash-hosted.com/ushosted/docs/openapi.json | jq '.paths."/api/admin/strategies/{name}" | keys'
[
  "delete",
  "get"
]
gaston@gaston-Summit-E16Flip-A12UCT: ~/poc/terraform-provider-unleash on main [!$]
$ curl -s https://us.app.unleash-hosted.com/ushosted/docs/openapi.json | jq '.paths."/api/admin/strategies/{strategyName}" | keys'
[
  "put"
]
```

Note one is under `{name}` while the other is under `{strategyName}`
2023-08-09 13:07:17 +00:00
..
admin-api fix: proper aggregation of strategies (#4456) 2023-08-09 13:07:17 +00:00
auth
client-api
edge-api
proxy-api
backstage.test.ts
backstage.ts
controller.ts
health-check.test.ts
health-check.ts
index.ts
logout.test.ts
logout.ts
public-invite.test.ts
public-invite.ts
unleash-types.ts
util.ts