Skip to content

Instantly share code, notes, and snippets.

@ponelat
Last active September 1, 2023 10:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ponelat/af8591f3a6489d3371bef06675b6e744 to your computer and use it in GitHub Desktop.
Save ponelat/af8591f3a6489d3371bef06675b6e744 to your computer and use it in GitHub Desktop.
PathItems
openapi: 3.1.0
info:
title: Example specification
version: "1.0"
servers:
- url: http://localhost:8080/
paths:
/foo:
$ref: "#/components/pathItems/StandardStatus"
/bar:
$ref: "#/components/pathItems/StandardStatus"
components:
pathItems:
StandardStatus:
get:
parameters:
- name: extended
in: query
schema:
type: boolean
responses:
200:
description: OK
openapi: 3.1.0
info:
title: Example specification
version: "1.0"
servers:
- url: http://localhost:8080/
paths:
/foo:
$ref: "#/components/pathItems/StandardStatus"
/bar:
$ref: "#/components/pathItems/StandardStatus"
components:
pathItems:
StandardStatus:
get:
parameters:
- name: extended
in: query
schema:
type: boolean
responses:
200:
description: OK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment