Created
June 2, 2023 13:27
-
-
Save nebulon42/76ab3b59bf820128c04e39770a803228 to your computer and use it in GitHub Desktop.
Simple OpenAPI spec
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.3" | |
info: | |
title: "Testing dry run" | |
description: "some description" | |
version: "1.0.0" | |
tags: | |
- name: service | |
paths: | |
/test/op1: | |
get: | |
summary: test endpoint 1 | |
operationId: op1 | |
tags: | |
- service | |
responses: | |
"200": | |
description: good response | |
content: | |
application/json: | |
schema: | |
$ref: '#/components/schemas/ReturnSchema' | |
components: | |
schemas: | |
ReturnSchema: | |
type: object | |
properties: | |
prop: | |
type: string |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment