Skip to content

Commit

Permalink
fix: Add promoteAndName
Browse files Browse the repository at this point in the history
  • Loading branch information
jlacivita committed Mar 27, 2024
1 parent abb4dee commit 74136cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/shared/modules.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -1364,6 +1364,7 @@ const getModule = (name, json, copySchemas, extractSubSchemas) => {
openrpc.info.description = json.info['x-module-descriptions'][name]
}
delete openrpc.info['x-module-descriptions']
openrpc = promoteAndNameXSchemas(openrpc)
return removeUnusedBundles(removeUnusedSchemas(openrpc))

const copy = JSON.parse(JSON.stringify(openrpc))
Expand Down

0 comments on commit 74136cd

Please sign in to comment.