Skip to content

Instantly share code, notes, and snippets.

@tito
Forked from jwigankow/openapi.yaml
Last active May 3, 2022 16:03
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 tito/0f7292cbf6ba089c7b54822534299d6c to your computer and use it in GitHub Desktop.
Save tito/0f7292cbf6ba089c7b54822534299d6c to your computer and use it in GitHub Desktop.
openapi: 3.0.0
info:
title: Example API
version: 1.0.0
servers:
- url: https://example.com/
paths:
/example2:
get:
tags:
- example
responses:
"200":
description: OK
content:
application/json:
schema:
type: object
properties:
last_updated_at:
type: string
format: date-time
example:
last_updated_at: 2021-01-02T14:00:03Z
components:
securitySchemes:
BearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
security:
- BearerAuth: []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment