Skip to content

Commit

Permalink
feat(api-gen): change default content-type for admin loadSchema comma…
Browse files Browse the repository at this point in the history
…nd (#570)
  • Loading branch information
mkucmus authored Feb 8, 2024
1 parent 1583a7a commit 5a48580
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/api-gen/src/commands/loadSchema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ export async function loadSchema(args: {
apiJSON = await adminClient.invoke(
"api-info get /_info/openapi3.json?type",
{
type: "json",
// TODO: change to json once default content-type is changed NEXT-30635
type: "jsonapi",
},
);
} else {
Expand Down

0 comments on commit 5a48580

Please sign in to comment.