Skip to content

Instantly share code, notes, and snippets.

@micheldumontier
Last active December 19, 2017 13:01
Show Gist options
  • Select an option

  • Save micheldumontier/785cee1ef746dcf46a57ea93e6d25396 to your computer and use it in GitHub Desktop.

Select an option

Save micheldumontier/785cee1ef746dcf46a57ea93e6d25396 to your computer and use it in GitHub Desktop.
lightweight openAPI description
openapi: 3.0.0
info:
title: my.sparql.api
version: 0.1.0
description: my awesome sparql API
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:
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