-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathwww.articoli-alternativi-gratis.it.yaml
44 lines (43 loc) · 1.11 KB
/
www.articoli-alternativi-gratis.it.yaml
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
37
38
39
40
41
42
43
44
openapi: 3.0.1
info:
title: Italy Latest News
description: An API to get the latest news from Italy
version: '0.1'
servers:
- url: https://www.articoli-alternativi-gratis.it/italy-latest-news/api/0.1
paths:
/get-latest-news/:
get:
operationId: getLatestNews
summary: Get latest news from Italy
responses:
'200':
description: 'Successful operation'
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/News'
components:
schemas:
News:
type: object
properties:
title:
type: string
description: 'The title of the news article'
link:
type: string
description: 'The URL to the news article'
pubDate:
type: string
description: 'The publication date and time of the news article'
description:
type: string
description: 'The description of the news article'
required:
- title
- link
- pubDate
- description