Skip to content

Commit

Permalink
Update resources and documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
KingPack committed Feb 13, 2022
1 parent d4df6f8 commit 2d36a03
Show file tree
Hide file tree
Showing 2 changed files with 362 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,53 @@ summary: "Lista Artigos."
description: "Essa rota lista os artigos da Space Flight."
produces:
- "application/json"
responses:
"200":
description: "Mesa criada com sucesso."
schema:
type: "object"
properties:
id:
type: "integer"
example: 1
title:
type: "string"
example: "No commercial crew test flights expected this year"
url:
type: "string"
example: "https://spaceflightnow.com/2018/10/06/no-commercial-crew-test-flights-expected-this-year/"
imageUrl:
type: "string"
example: "https://spaceflightnow.com/wp-content/uploads/2018/10/ccp-countdown-header-326x245.jpg"
newsSite:
type: "string"
example: "Spaceflight Now"
summary:
type: "string"
example: ""
publishedAt:
type: "string"
example: "2018-10-05T22:00:00.000Z"
updatedAt:
type: "string"
example: "2021-05-18T13:43:19.589Z"
featured:
type: "boolean"
example: false
launches:
type: "list"
example: []
articles:
type: "list"
example: []


"400":
description: "Falha de requisição"
schema:
type: "object"
properties:
Mensagem:
type: "string"
Adicional:
type: "string"
Loading

0 comments on commit 2d36a03

Please sign in to comment.