Skip to content

Commit b357ef7

Browse files
committed
added _example_api folder
1 parent 54b5a61 commit b357ef7

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

_example_api/EXAMPLEAPI_openapi.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# This file should store OpenAPI v3 metadata (https://www.openapis.org/) in either JSON or YAML format.
2+
# Ref 1: OpenAPI v3 specifications:
3+
# https://github.com/OAI/OpenAPI-Specification/blob/OpenAPI.next/versions/3.0.0.md
4+
# Ref 2: SmartAPI extensions (extra fields starting with "x-")
5+
# https://github.com/SmartAPI/OpenAPI-Specification/blob/OpenAPI.next/versions/3.0.0.md
6+
# You can also refer to this list of SmartAPI extensions (excluding all OpenAPI fields):
7+
# https://github.com/SmartAPI/smartAPI-Specification/blob/OpenAPI.next/versions/smartapi-list.md
8+
#
9+
# Or the simple way to get started is to follow our examples in this repo:
10+
# 1. This is a minimal example for MyGene.info API:
11+
# https://github.com/NCATS-Tangerine/translator-api-registry/blob/master/mygene.info/openapi_minimum.yml
12+
# 2. This is a full metadata example for MyGene.info API
13+
# https://github.com/NCATS-Tangerine/translator-api-registry/blob/master/mygene.info/openapi_full.yml
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"@context": {
3+
"fieldname1": "http://identifiers.org/###",
4+
"fieldname2": "http://identifiers.org/###"
5+
}
6+
}

0 commit comments

Comments
 (0)