Skip to content

Commit b2f1feb

Browse files
added header
1 parent ea7a4f7 commit b2f1feb

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

versions/smartapi-list.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
smartAPI specific elements automatically generated from <a href="https://github.com/SmartAPI/smartAPI-Specification/blob/OpenAPI.next/versions/3.0.0.md">parent document</a>
2+
23
Object | Field | Recommendation | Datatype | Description
34
---|:---:|:---:|:---:|---
45
<a href="https://github.com/SmartAPI/smartAPI-Specification/blob/OpenAPI.next/versions/3.0.0.md#oasObject">OpenAPI Object</a>|<a href="https://github.com/SmartAPI/smartAPI-Specification/blob/OpenAPI.next/versions/3.0.0.md#oasExternalResources">x-externalResources</a>||External Resource Object|A list of external resources pertinent to the API.

versions/smartapi-list.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
function getHeaderLink($label)
1212
{
1313
global $header_labels;
14-
echo $label.PHP_EOL;
1514
$id = array_search($label, $header_labels[2]);
1615
return $header_labels[1][$id];
1716
}
@@ -76,11 +75,10 @@ function getHeaderLink($label)
7675

7776
}
7877

79-
8078
// markdown
8179
$file = "smartapi-list.md";
8280
$fp = fopen($file,"w");
83-
fwrite($fp,"smartAPI specific elements automatically generated from <a href=\"$parent_doc\">parent document</a>".PHP_EOL);
81+
fwrite($fp,"smartAPI specific elements automatically generated from <a href=\"$parent_doc\">parent document</a>".PHP_EOL.PHP_EOL);
8482
fwrite($fp,"Object | Field | Recommendation | Datatype | Description".PHP_EOL);
8583
fwrite($fp,"---|:---:|:---:|:---:|---".PHP_EOL);
8684
foreach($mylist AS $object => $o) {

0 commit comments

Comments
 (0)