Skip to content

Instantly share code, notes, and snippets.

@darrelmiller
Created March 13, 2019 00:20
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 darrelmiller/0612fa36f9690656e45c36c0a2bac728 to your computer and use it in GitHub Desktop.
Save darrelmiller/0612fa36f9690656e45c36c0a2bac728 to your computer and use it in GitHub Desktop.
openapi: 3.0.0
info:
title: OpenAPI Introspection API
version: 1.0
paths:
/tags:
get:
responses:
2XX:
description: List of tags used in the API
content:
application/json:
schema:
type: array
item:
type: object
properties:
name:
type: string
description:
type: string
/tags/{tagId}/operations:
get:
parameters:
- name: tagId
in: path
schema:
type: string
responses:
2XX:
description: List of operations associated to a tag
content:
application/json:
schema:
type: array
item:
type: string
/$openapi:
get:
parameters:
- name: tagIds
schema:
type: array
item:
type: string
- name: operationIds
schema:
type: array
item:
type: string
responses:
2XX:
description: List of operations associated to a tag
content:
"application/vnd.oai.openapi": {}
"application/vnd.oai.openapi+json": {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment