Hence forth this document shall be known as the rules. It is the source of truth.
The Hub short for SwaggerHub.com
API refers to APIs as defined by the OAS 2.0 specification
{ | |
"swagger": "2.0", | |
"info": { | |
"title": not [ quite valid.... | |
} | |
} |
a[ one # two |
{ "fromTheGist": true } |
swagger: '2.0' | |
info: | |
version: 1.0 | |
title: GitHub API | |
host: api.github.com | |
schemes: | |
- https | |
paths: | |
/users/{username}: | |
get: |
# For brevity, we'll refer to `fournil` as our project name, you can of course update that to anthing ( so long as its consistent ). | |
# With Leinigen installed ( see https://leiningen.org/ ) | |
# Create a fighweel project ( https://github.com/bhauman/lein-figwheel ), which is a batteries included clojurescript template. | |
lein new figwheel fournil -- --rum # We used Rum, 'cause its what I know :D | |
cd fournil | |
# This will start the figwheel server, which includes hot-reloading of frontend pieces as well as an http server for viewing the page. | |
lein figwheel # This will Download The Internet TM the first time it runs, to get everything you need. Thereafter it'll just start the server |
openapi: 3.0.0 | |
info: | |
version: 1.0.0 | |
title: Limoncello 3.0.0 | |
paths: | |
/limoncello: | |
get: | |
summary: Update a limoncello | |
requestBody: | |
description: Request type of limoncello |
definitions: | |
Lol: | |
type: object | |
properties: | |
who: | |
type: string | |
example: knew | |
you: | |
type: string | |
example: could do this |
paths: {} |
openapi: 3.0.0 | |
servers: | |
- url: http://httpbin.org | |
info: | |
version: "1.0.3-oas3" | |
title: Some Service | |
description: Description | |
paths: | |
/anything: | |
get: |