add changeset and revert generated file change
Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user