Created
September 22, 2021 10:38
-
-
Save Wachiwi/b651350e107aa75776f5bb85efd9e9f0 to your computer and use it in GitHub Desktop.
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<script | |
type="module" | |
src="https://unpkg.com/rapidoc@9.1.2/dist/rapidoc-min.js" | |
></script> | |
</head> | |
<body> | |
<rapi-doc | |
spec-url="mve.json" | |
render-style="view" | |
layout="column" | |
theme="light" | |
show-info="false" | |
show-header="false" | |
show-components="false" | |
allow-spec-file-load="false" | |
info-description-headings-in-navbar="false" | |
allow-try="false" | |
primary-color="#11171a" | |
allow-server-selection="false" | |
server-url="" | |
> | |
</rapi-doc> | |
</body> | |
</html> |
This file contains 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
openapi: 3.0.0 | |
info: | |
version: 1.0.0 | |
title: Minimal viable example | |
paths: | |
/referenced-callback: | |
post: | |
operationId: do-stuff | |
requestBody: | |
required: true | |
content: | |
application/json: | |
schema: | |
type: string | |
description: Message | |
callbacks: | |
ReferencedCallback: | |
$ref: '#/components/callbacks/ReferencedCallback' | |
responses: | |
'204': | |
description: No Content | |
/inline-callback: | |
get: | |
operationId: do-other-stuff | |
requestBody: | |
required: true | |
content: | |
application/json: | |
schema: | |
type: string | |
description: Message | |
callbacks: | |
InlineCallback: | |
'https://example.org/callback': | |
post: | |
requestBody: | |
required: true | |
content: | |
application/json: | |
schema: | |
type: string | |
description: Message | |
responses: | |
'204': | |
description: No Content | |
responses: | |
'204': | |
description: No Content | |
components: | |
callbacks: | |
ReferencedCallback: | |
'https://example.org/callback': | |
post: | |
requestBody: | |
required: true | |
content: | |
application/json: | |
schema: | |
type: string | |
description: Message | |
responses: | |
'204': | |
description: No Content |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment