Created
March 14, 2023 05:20
-
-
Save Ja7ad/ef8e80a9a6aba8fbd305a1956cb8c77c 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
openapi: 3.0.1 | |
info: | |
title: test.proto | |
version: version not set | |
servers: | |
- url: / | |
tags: | |
- name: Foo | |
paths: | |
/list: | |
get: | |
tags: | |
- Foo | |
summary: Sends a greeting | |
operationId: Foo_Bar | |
parameters: | |
- name: filter | |
in: query | |
schema: | |
type: object | |
format: string | |
responses: | |
200: | |
description: A successful response. | |
content: | |
application/json: | |
schema: | |
$ref: '#/components/schemas/rpxBarResponse' | |
default: | |
description: An unexpected error response. | |
content: | |
application/json: | |
schema: | |
$ref: '#/components/schemas/rpcStatus' | |
components: | |
schemas: | |
protobufAny: | |
type: object | |
properties: | |
'@type': | |
type: string | |
additionalProperties: | |
type: object | |
rpcStatus: | |
type: object | |
properties: | |
code: | |
type: integer | |
format: int32 | |
message: | |
type: string | |
details: | |
type: array | |
items: | |
$ref: '#/components/schemas/protobufAny' | |
rpxBarResponse: | |
type: object |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment