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:
5858 summary : " name example 2"
5959 description : " name example 2 description"
6060 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
6175 responses :
6276 " 204 " :
6377 description : no content
Original file line number Diff line number Diff line change 11.openapi-params__list-item {
22 margin : 0 0 0 1rem !important ;
33 position : relative ;
4- padding-left : 1rem ;
4+ padding : 5 px 0 5 px 1rem ;
55 border-left : thin solid var (--openapi-tree-line-color ) !important ;
66 margin-top : unset !important ;
77
88 // Horizonal line styling for param attributes
99 & ::before {
1010 position : absolute ;
11- top : 5 px ;
11+ top : 10 px ;
1212 left : 0 ;
1313 width : 0.7rem ;
1414 /* width of horizontal line */
2525 color : var (--ifm-color-primary );
2626 }
2727 }
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+ }
2840}
2941
3042.openapi-schema__type {
Original file line number Diff line number Diff line change 2727 content : " " ;
2828 display : inline-block ;
2929 }
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+ }
3042}
3143
3244.openapi-schema__name {
You can’t perform that action at this time.
0 commit comments