Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

annotate Swagger JSON with OpenRiskNet (x-orn) annotation #6

Open
egonw opened this issue May 7, 2018 · 0 comments
Open

annotate Swagger JSON with OpenRiskNet (x-orn) annotation #6

egonw opened this issue May 7, 2018 · 0 comments

Comments

@egonw
Copy link
Member

egonw commented May 7, 2018

As in:

{
    "swagger": "2.0",
    "info": {
        "version": "0.9.0",
        "title": "BridgeDb webservices",
        "x-orn-@id": "http://webservice.bridgedb.org",
        "x-orn-@type": "x-orn:Service"
    },
    "consumes":["text/html"],
    "produces":["*/*"],
    "host": "webservice.bridgedb.org",
    "schemes": [
        "http",
        "https"
    ],
    "paths": {
        "/{organism}/xrefs/{systemCode}/{identifier}": {
            "get": {
                "x-orn-@type": "x-orn:Identifier",
                "x-orn:path": "http://webservice.bridgedb.org/{organism}/xrefs/{systemCode}/{identifier}",
                "x-orn:method": "Post",
                "description": "Returns a list of xrefs that map to a given identifier, data source, and organism.",
		        "tags":["Genes"],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant