File tree Expand file tree Collapse file tree 3 files changed +40
-2
lines changed
packages/docusaurus-theme-openapi-docs/src/theme Expand file tree Collapse file tree 3 files changed +40
-2
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,20 @@ paths:
58
58
summary : " name example 2"
59
59
description : " name example 2 description"
60
60
value : " Jane Smith"
61
+ - name : age
62
+ description : age example
63
+ in : query
64
+ schema :
65
+ type : number
66
+ examples :
67
+ example1 :
68
+ summary : " age example 1"
69
+ description : " age example 1 description"
70
+ value : 25
71
+ example2 :
72
+ summary : " age example 2"
73
+ description : " age example 2 description"
74
+ value : 30
61
75
responses :
62
76
" 204 " :
63
77
description : no content
Original file line number Diff line number Diff line change 1
1
.openapi-params__list-item {
2
2
margin : 0 0 0 1rem !important ;
3
3
position : relative ;
4
- padding-left : 1rem ;
4
+ padding : 5 px 0 5 px 1rem ;
5
5
border-left : thin solid var (--openapi-tree-line-color ) !important ;
6
6
margin-top : unset !important ;
7
7
8
8
// Horizonal line styling for param attributes
9
9
& ::before {
10
10
position : absolute ;
11
- top : 5 px ;
11
+ top : 10 px ;
12
12
left : 0 ;
13
13
width : 0.7rem ;
14
14
/* width of horizontal line */
25
25
color : var (--ifm-color-primary );
26
26
}
27
27
}
28
+
29
+ .openapi-tabs__schema-container {
30
+ > .openapi-tabs__schema-tabs-container {
31
+ margin : 0.2rem 0 ;
32
+ }
33
+
34
+ @layer docusaurus .infima {
35
+ > .margin-top--md {
36
+ margin-top : 0rem !important ;
37
+ }
38
+ }
39
+ }
28
40
}
29
41
30
42
.openapi-schema__type {
Original file line number Diff line number Diff line change 27
27
content : " " ;
28
28
display : inline-block ;
29
29
}
30
+
31
+ .openapi-tabs__schema-container {
32
+ > .openapi-tabs__schema-tabs-container {
33
+ margin : 0.2rem 0 ;
34
+ }
35
+
36
+ @layer docusaurus .infima {
37
+ > .margin-top--md {
38
+ margin-top : 0rem !important ;
39
+ }
40
+ }
41
+ }
30
42
}
31
43
32
44
.openapi-schema__name {
You can’t perform that action at this time.
0 commit comments