File tree Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -17,13 +17,15 @@ export const ParamDisplay = props => {
17
17
< div className = "w-3/4" >
18
18
< div >
19
19
< div >
20
- { param . schema . type } { " " }
21
- { param . schema . type === "integer" &&
20
+ { param . schema . type && param . schema . type } { " " }
21
+ { param . schema . type &&
22
+ param . schema . type === "integer" &&
22
23
param . schema . minimum &&
23
24
! param . schema . maximum && (
24
25
< span className = "tag" > > = { param . schema . minimum } </ span >
25
26
) }
26
- { param . schema . type === "integer" &&
27
+ { param . schema . type &&
28
+ param . schema . type === "integer" &&
27
29
param . schema . minimum &&
28
30
param . schema . maximum && (
29
31
< span className = "tag" >
Original file line number Diff line number Diff line change @@ -506,6 +506,16 @@ export const query = graphql`
506
506
servers {
507
507
url
508
508
}
509
+ parameters {
510
+ name
511
+ in
512
+ required
513
+ description
514
+ schema {
515
+ type
516
+ default
517
+ }
518
+ }
509
519
responses {
510
520
_200 {
511
521
description
You can’t perform that action at this time.
0 commit comments