Skip to content

Instantly share code, notes, and snippets.

@nicochidt
Last active February 27, 2024 22:58
Show Gist options
  • Save nicochidt/3d22ef3fecb16ad760e0dcc61ac24e70 to your computer and use it in GitHub Desktop.
Save nicochidt/3d22ef3fecb16ad760e0dcc61ac24e70 to your computer and use it in GitHub Desktop.
openapi: 3.0.3
info:
title: New Collection
version: 1.0.0
contact: {}
servers:
- url: http://172.31.19.244:5000
paths:
/threats:
get:
parameters:
- name: after
in: query
schema:
type: date-time
- name: page
in: query
schema:
type: int
example: 0
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
properties:
content:
type: array
items:
accountId:
type: string
description: Account Id
id:
type: string
description: ID
empty:
type: boolean
first:
type: boolean
last:
type: boolean
numberOfElements:
type: integer
description: Number of threats
totalElements:
type: integer
description: Total Number of elemnets
tags: []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment