add changeset and revert generated file change

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
This commit is contained in:
aramissennyeydd
2024-07-07 17:58:34 -04:00
parent 568cfdd9a9
commit 47fdbb4d96
2 changed files with 8 additions and 6 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/repo-tools': minor
---
Adds a `--watch` mode to the `schema openapi generate` command for a better local schema writing experience.
@@ -276,14 +276,13 @@ export class DefaultApiClient {
/**
* Get a batch set of entities given an array of entityRefs.
* @param filter Filter for just the entities defined by this filter.
* @param getEntitiesByRefsRequest
*/
public async getEntitiesByRefs(
// @ts-ignore
request: {
body: GetEntitiesByRefsRequest;
query: {
query?: {
filter?: Array<string>;
};
},
@@ -291,11 +290,9 @@ export class DefaultApiClient {
): Promise<TypedResponse<EntitiesBatchResponse>> {
const baseUrl = await this.discoveryApi.getBaseUrl(pluginId);
const uriTemplate = `/entities/by-refs{?filter*}`;
const uriTemplate = `/entities/by-refs/{?filter*}`;
const uri = parser.parse(uriTemplate).expand({
...request.query,
});
const uri = parser.parse(uriTemplate).expand({ ...request.query });
return await this.fetchApi.fetch(`${baseUrl}${uri}`, {
headers: {