We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 907f0bc commit b676ea6Copy full SHA for b676ea6
src/utils/structuredData.ts
@@ -724,9 +724,16 @@ export function generateAPIReference(
724
}),
725
programmingModel,
726
targetPlatform,
727
- // Add standard programming language property if detected
+ // Schema.org compliant technical properties using additionalProperty for programmingLanguage
728
...(programmingLanguages.length > 0 && {
729
- programmingLanguage: programmingLanguages,
+ additionalProperty: [
730
+ ...programmingLanguages.map((language) => ({
731
+ "@type": "PropertyValue",
732
+ name: "Programming Language",
733
+ value: language,
734
+ description: "Programming language used in the API",
735
+ })),
736
+ ],
737
738
about: {
739
"@type": "Thing",
0 commit comments