-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathapi.yaml
More file actions
36 lines (33 loc) · 774 Bytes
/
Copy pathapi.yaml
File metadata and controls
36 lines (33 loc) · 774 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
openapi: 3.0.1
info:
title: NodeJS API Seed
description: >-
API Seed with NodeJs and OpenAPI
version: 1.0.0
servers:
- url: "http://localhost:9000/"
tags:
- name: article
description: Everything concerning articles, comments
- name: user
description: Operations about users
paths:
/article:
$ref: "./article/article.yaml"
/article/{id}:
$ref: "./article/article-id.yaml"
/user:
$ref: "./user/user.yaml"
/user/{id}:
$ref: "./user/user-id.yaml"
/data:
$ref: "./data/data.yaml"
/data/{id}:
$ref: "./data/data-id.yaml"
components:
schemas:
$ref: "./schemas/_index.yaml"
securitySchemes:
auth:
type: openIdConnect
openIdConnectUrl: https://seed.eu.auth0.com/.well-known/openid-configuration