Revert "feat: openapi component"

This reverts commit 1af5507ac7.
v1.18.x
Barış Soner Uşaklı 5 years ago
parent 1af5507ac7
commit 683e58511b

@ -33,73 +33,6 @@ tags:
description: Disparate method of categorizing topics
- name: shorthand
description: Convenience and utility routes for accessing other part of the API
components:
schemas:
CommonProps:
type: object
properties:
loggedIn:
type: boolean
relative_path:
type: string
url:
type: string
bodyClass:
type: string
_header:
type: object
properties:
tags:
type: object
properties:
meta:
type: array
items:
type: object
properties:
name:
type: string
content:
type: string
noEscape:
type: boolean
property:
type: string
required:
- name
- content
- noEscape
- property
link:
type: array
items:
type: object
properties:
rel:
type: string
type:
type: string
href:
type: string
title:
type: string
sizes:
type: string
required:
- rel
- href
- type
- sizes
widgets:
type: object
properties:
footer:
type: array
items:
type: object
properties:
html:
type: string
paths:
/api/:
get:
@ -112,8 +45,7 @@ paths:
content:
application/json:
schema:
allOf:
- type: object
type: object
properties:
title:
type: string
@ -443,6 +375,10 @@ paths:
- posts
- teaser
- imageClass
loggedIn:
type: boolean
relative_path:
type: string
template:
type: object
properties:
@ -450,6 +386,10 @@ paths:
type: string
categories:
type: boolean
url:
type: string
bodyClass:
type: string
topics:
type: array
items:
@ -672,7 +612,83 @@ paths:
type: number
enableCarouselPagination:
type: number
- $ref: '#/components/schemas/CommonProps'
_header:
type: object
properties:
tags:
type: object
properties:
meta:
type: array
items:
type: object
properties:
name:
type: string
content:
type: string
noEscape:
type: boolean
property:
type: string
required:
- name
- content
- noEscape
- property
link:
type: array
items:
type: object
properties:
rel:
type: string
type:
type: string
href:
type: string
title:
type: string
sizes:
type: string
required:
- rel
- href
- type
- sizes
widgets:
type: object
properties:
sidebar:
type: array
items:
type: object
properties:
html:
type: string
required:
- html
header:
type: array
items:
type: object
properties:
html:
type: string
footer:
type: array
items:
type: object
properties:
html:
type: string
motd:
type: array
items:
type: object
properties:
html:
type: string
"304":
description: ""
"/api/post/{pid}/raw":
@ -9708,8 +9724,7 @@ paths:
content:
application/json:
schema:
allOf:
- type: object
type: object
properties:
topics:
type: array
@ -10043,6 +10058,10 @@ paths:
type: string
rssFeedUrl:
type: string
loggedIn:
type: boolean
relative_path:
type: string
template:
type: object
properties:
@ -10050,7 +10069,64 @@ paths:
type: string
tag:
type: boolean
- $ref: '#/components/schemas/CommonProps'
url:
type: string
bodyClass:
type: string
_header:
type: object
properties:
tags:
type: object
properties:
meta:
type: array
items:
type: object
properties:
name:
type: string
content:
type: string
noEscape:
type: boolean
property:
type: string
required:
- name
- content
- noEscape
- property
link:
type: array
items:
type: object
properties:
rel:
type: string
type:
type: string
href:
type: string
title:
type: string
sizes:
type: string
required:
- rel
- href
- type
- sizes
widgets:
type: object
properties:
footer:
type: array
items:
type: object
properties:
html:
type: string
/api/tags:
get:
tags:
@ -10063,8 +10139,7 @@ paths:
content:
application/json:
schema:
allOf:
- type: object
type: object
properties:
tags:
type: array
@ -10106,6 +10181,12 @@ paths:
type: string
required:
- text
title:
type: string
loggedIn:
type: boolean
relative_path:
type: string
template:
type: object
properties:
@ -10113,9 +10194,64 @@ paths:
type: string
tags:
type: boolean
url:
type: string
bodyClass:
type: string
_header:
type: object
properties:
tags:
type: object
properties:
meta:
type: array
items:
type: object
properties:
name:
type: string
content:
type: string
noEscape:
type: boolean
property:
type: string
required:
- name
- content
- noEscape
- property
link:
type: array
items:
type: object
properties:
rel:
type: string
type:
type: string
href:
type: string
title:
type: string
- $ref: '#/components/schemas/CommonProps'
sizes:
type: string
required:
- rel
- href
- type
- sizes
widgets:
type: object
properties:
footer:
type: array
items:
type: object
properties:
html:
type: string
/api/categories:
get:
tags:

Loading…
Cancel
Save