Skip to content

Instantly share code, notes, and snippets.

View mathis-m's full-sized avatar
💻
coding

Mahtis Michel mathis-m

💻
coding
  • Avanade
  • Stuttgart, Germany
View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
---
openapi: 3.0.3
info:
title: Yodel API
version: 0.0.1
paths:
/hello:
get:
tags:
- Example Resource
openapi: 3.0.3
info:
title: Test
version: 1.0.0
servers:
- url: https://api.example.com/v2
security:
- openId: []
paths:
/:
{
"basePath": "/",
"info": {
"title": "My api",
"version": "1.0.0"
},
"paths": {
"/controller/": {
"get": {
"operationId": "apiGetControllers",
openapi: 3.0.0
info:
title: Test API
version: '1.0'
servers:
- url: 'http://localhost:3000'
paths:
# Generated CURL request uses:
openapi: 3.0.0
info:
version: 1.0.0
title: test
description: example with callback
paths:
/subscribe:
post:
summary: Subscribe to a webhook
requestBody:
openapi: "3.0.2"
info:
title: Sample API
description: Optional multiline or single-line description in [CommonMark](http://commonmark.org/help/) or HTML.
version: 0.1.9
servers:
- url: "xxxxx"
openapi: 3.0.0
info:
title: Test API
version: 1.0.0
servers:
- url: https://api.example.com/foo/bar
- url: https://api.example.com:{port}/{basePath}
variables:
port:
openapi: 3.0.0
info:
title: test
version: 0.0.0
paths:
/something/{id}:
parameters:
- in: path
name: id
required: true
openapi: 3.0.0
info:
title: test
version: 0.0.0
paths:
/something/{id}:
parameters:
- in: path
name: id
required: true