Skip to content

Instantly share code, notes, and snippets.

@nicolastakashi
Created May 29, 2020 10:00
Show Gist options
  • Select an option

  • Save nicolastakashi/31e9973a403eb968379336de77df1457 to your computer and use it in GitHub Desktop.

Select an option

Save nicolastakashi/31e9973a403eb968379336de77df1457 to your computer and use it in GitHub Desktop.
openapi: 3.0.0
info:
title: Todo App API
description: Todo App API.
version: v1
contact:
email: 'nicolas.tcs@hotmail.com'
name: 'Nicolas Takashi'
tags:
- name: Tasks
paths:
'/tasks':
$ref: './components/paths/tasks/task.yaml'
'/tasks/{id}':
$ref: './components/paths/tasks/task-by-id.yaml'
components:
schemas:
Task:
$ref: 'components/schemas/task.yaml#/components/schemas/Task'
PagedTask:
$ref: 'components/schemas/pagedTask.yaml#/components/schemas/PagedTask'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment