Skip to content

Instantly share code, notes, and snippets.

@micheldumontier
Created December 19, 2017 13:10
Show Gist options
  • Save micheldumontier/ba7c1791bcfceb6e39504e92c229b8af to your computer and use it in GitHub Desktop.
Save micheldumontier/ba7c1791bcfceb6e39504e92c229b8af to your computer and use it in GitHub Desktop.
a minimal smartAPI description
openapi: 3.0.0
info:
title: my.sparql.api
version: 0.1.0
description: my awesome sparql API
termsOfService: http://github.com/jane.doe/tos
contact:
name: jane doe
x-id: http://github.com/jane.doe
x-role: responsible developer
x-externalResources:
- x-url: http://github.com/jane.doe/myapi
x-type: api documentation
x-description: github repo for API
servers:
- url: http://janedoe.info/myapi
paths:
/sparql:
get:
summary: SPARQL endpoint
description: SPARQL query path
tags:
- SPARQL
responses:
'200':
description: default response
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment