Skip to content

Commit

Permalink
Merge branch 'feature/c-language' into dev-types/feature/c-language
Browse files Browse the repository at this point in the history
  • Loading branch information
HaseenaSainul authored Jun 6, 2023
2 parents bf887d5 + bd7db6c commit 9ea678c
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions languages/c/Types.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,7 @@ function getSchemaShapeInfo(json, module, schemas = {}, { name = '', prefix = ''
shape += '\n' + getSchemaType(module, json, name, schemas, prefix, {level: level, descriptions: descriptions})
}
}

return shape
}

Expand Down
2 changes: 1 addition & 1 deletion languages/c/templates/imports/default.c
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#include "JsonData_${info.title}.h"
#include "JsonData_${info.title}.h"
1 change: 0 additions & 1 deletion src/macrofier/engine.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -1048,7 +1048,6 @@ function insertMethodMacros(template, methodObj, json, templates, examples={}) {
const pullsParamsType = pullsParams ? types.getSchemaShape(pullsParams, json, { destination: state.destination, section: state.section }) : ''

let seeAlso = ''

if (isPolymorphicPullMethod(methodObj) && pullsForType) {
seeAlso = `See also: [${pullsForType}](#${pullsForType.toLowerCase()}-1)` // this assumes the schema will be after the method...
}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/typescript.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -352,4 +352,4 @@ function getSchemaShape(schema = {}, module = {}, { name = '', level = 0, title,
getSchemaShape,
getSchemaType,
getJsonType
}
}

0 comments on commit 9ea678c

Please sign in to comment.