This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# this is an example of the Uber API | |
# as a demonstration of an API spec in YAML | |
swagger: '2.0' | |
info: | |
title: ImageMap API | |
description: ImageMapa APIドキュメント | |
version: "1.0.0" | |
# the domain of the service | |
host: localhost:3000 | |
# array of all schemes that your API supports |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'linkeddata' | |
require 'csv' | |
graph = RDF::Graph.load("http://hiroshimarb.github.io/") | |
query = RDF::Query.new({ | |
person: { | |
RDF.type => RDF::Vocab::SCHEMA.Person, | |
RDF::Vocab::SCHEMA.name => :name, | |
RDF::Vocab::SCHEMA.description => :desc, | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# this is an example of the Uber API | |
# as a demonstration of an API spec in YAML | |
swagger: '2.0' | |
info: | |
title: Example API | |
description: サンプルドキュメント | |
version: "1.0.0" | |
# the domain of the service | |
host: api.example.com | |
# array of all schemes that your API supports |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"swagger" : "2.0", | |
"info" : { | |
"description" : "サンプルドキュメント", | |
"version" : "1.0.0", | |
"title" : "Example API" | |
}, | |
"host" : "api.example.com", | |
"basePath" : "/v1", | |
"schemes" : [ "https" ], |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.