Skip to content

Commit 1d25b75

Browse files
replaced old link
1 parent 9e7c35f commit 1d25b75

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

versions/smartapi-list.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
Object | Field | Recommendation | Datatype | Description
22
---|:---:|:---:|:---:|---
33
OpenAPI Object|x-externalResources||External Resource Object|A list of external resources pertinent to the API.
4-
Info Object|description|SHOULD| string |See <a href="https://github.com/WebsmartAPI/OpenAPI-Specification/blob/OpenAPI.next/versions/3.0.md#fixed-fields-1">above</a>.
5-
Info Object|termsOfService|REQUIRED| URL |See <a href="https://github.com/WebsmartAPI/OpenAPI-Specification/blob/OpenAPI.next/versions/3.0.md#fixed-fields-1">above</a>.
4+
Info Object|description|SHOULD| string |See <a href="https://github.com/SmartAPI/smartAPI-Specification/blob/OpenAPI.next/versions/3.0.0.mdfixed-fields-1">above</a>.
5+
Info Object|termsOfService|REQUIRED| URL |See <a href="https://github.com/SmartAPI/smartAPI-Specification/blob/OpenAPI.next/versions/3.0.0.mdfixed-fields-1">above</a>.
66
Info Object|version|REQUIRED| string |The version of the API definition. Specify API version using <a href="http://semver.org/spec/v2.0.0.html">Semantic Versioning<a/>. The major.minor portion of the semver (for example 3.0) shall designate the feature set. Typically, .patch versions address errors in the API metadata, not the feature set.
77
Info Object|x-maturity|| enum |Maturity of the API. Values to use: development, production.
88
Info Object|x-accessRestriction|| enum |Indicate whether there are restrictions to using the API. Values to use: none, limited, fee.
99
Info Object|x-implementationLanguage|| string |Language the API was written in.
1010
Contact Object|x-role|REQUIRED| enum |Indicate the role of the contact. Values can be: `responsible organization`,`responsible developer`,`contributor`,`support`.
1111
Contact Object|x-id|SHOULD| string |Provide a unique identifier for the contact.
12-
Operation Object|summary|REQUIRED| string |See <a href="https://github.com/WebsmartAPI/OpenAPI-Specification/blob/OpenAPI.next/versions/3.0.md#operation-object">above.</a>
12+
Operation Object|summary|REQUIRED| string |See <a href="https://github.com/SmartAPI/smartAPI-Specification/blob/OpenAPI.next/versions/3.0.0.mdoperation-object">above.</a>
1313
Operation Object|x-accessRestriction|| enum |Access restrictions to invoke the operation. values: none, limited, fee.
1414
External Resource Object [smartAPI extension]|x-url|REQUIRED| string |. The URL for the target documentation. Value MUST be in the format of a URL.
1515
External Resource Object [smartAPI extension]|x-type|REQUIRED| enum |values: `api documentation`, `website`,`developer forum`,`mailing list`,`social media`,`publication` </a>

versions/smartapi-list.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@
4747
$rec = $m[1];
4848
$desc = substr($desc, strlen($rec)+5);
4949
}
50+
$desc = str_replace("https://github.com/WebsmartAPI/OpenAPI-Specification/blob/OpenAPI.next/versions/3.0.md#","https://github.com/SmartAPI/smartAPI-Specification/blob/OpenAPI.next/versions/3.0.0.md", $desc);
51+
5052
$mylist[$object_label][$field]['rec'] = $rec;
5153
$mylist[$object_label][$field]['desc'] = trim($desc);
5254
$mylist[$object_label][$field]['datatype'] = $datatype;

0 commit comments

Comments
 (0)