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
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.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:
version: 1.0.0
title: test
description: example with callback
paths:
/subscribe:
post:
summary: Subscribe to a webhook
requestBody:
openapi: 3.0.0
info:
title: Test API
version: '1.0'
servers:
- url: 'http://localhost:3000'
paths:
# Generated CURL request uses:
{
"basePath": "/",
"info": {
"title": "My api",
"version": "1.0.0"
},
"paths": {
"/controller/": {
"get": {
"operationId": "apiGetControllers",
openapi: 3.0.3
info:
title: Test
version: 1.0.0
servers:
- url: https://api.example.com/v2
security:
- openId: []
paths:
/:
---
openapi: 3.0.3
info:
title: Yodel API
version: 0.0.1
paths:
/hello:
get:
tags:
- Example Resource
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.
https://cdn.discordapp.com/attachments/824936816100114514/933137448756715590/8d7b420a-5bf1-4800-8265-fe08999ce356.png