Skip to content

Commit

Permalink
change metaData object to dontIncludeInOpenApi boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
kainpets committed Oct 11, 2023
1 parent a9e6097 commit 85e05a2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const parseRoutesInPackage = async (opts: {
const { default: routeFn } = await require(path.resolve(p))

if (routeFn) {
if (routeFn._routeSpec?.metaData?.ignoreEndpoint) {
if (routeFn._routeSpec?.dontIncludeInOpenApi) {
return
}
}
Expand Down

0 comments on commit 85e05a2

Please sign in to comment.