-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add --x-include option to the merger to support x-tested.
- Loading branch information
Showing
14 changed files
with
121 additions
and
190 deletions.
There are no files selected for viewing
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
openapi: 3.1.0 | ||
info: | ||
title: OpenSearch API | ||
description: OpenSearch API | ||
version: 1.0.0 | ||
paths: | ||
/{index}: | ||
post: | ||
parameters: | ||
- $ref: '#/components/parameters/indices.create::path.index' | ||
- $ref: '#/components/parameters/indices.create::query.pretty' | ||
- $ref: '#/components/parameters/_global::query.human' | ||
requestBody: | ||
$ref: '#/components/requestBodies/indices.create' | ||
responses: | ||
'200': | ||
$ref: '#/components/responses/indices.create@200' | ||
x-xyz: true | ||
components: | ||
parameters: | ||
_global::query.human: | ||
name: human | ||
in: query | ||
description: Whether to return human readable values for statistics. | ||
schema: | ||
type: boolean | ||
default: true | ||
x-global: true | ||
adopt::path.animal: | ||
name: animal | ||
in: path | ||
schema: | ||
$ref: '#/components/schemas/animals:Animal' | ||
adopt::path.docket: | ||
name: docket | ||
in: path | ||
schema: | ||
type: number | ||
indices.create::path.index: | ||
name: index | ||
in: path | ||
schema: | ||
type: string | ||
indices.create::query.pretty: | ||
name: pretty | ||
in: query | ||
schema: | ||
type: boolean | ||
requestBodies: | ||
adopt: {} | ||
indices.create: {} | ||
responses: | ||
adopt@200: | ||
description: '' | ||
application/json: | ||
schema: | ||
type: object | ||
indices.create@200: | ||
description: '' | ||
application/json: | ||
schema: | ||
type: object | ||
schemas: | ||
actions:Bark: | ||
type: string | ||
actions:Meow: | ||
type: string | ||
animals:Animal: | ||
oneOf: | ||
- $ref: '#/components/schemas/animals:Dog' | ||
- $ref: '#/components/schemas/animals:Cat' | ||
animals:Cat: | ||
type: object | ||
properties: | ||
meow: | ||
$ref: '#/components/schemas/actions:Meow' | ||
animals:Dog: | ||
type: object | ||
properties: | ||
bark: | ||
$ref: '#/components/schemas/actions:Bark' |
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
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