File tree Expand file tree Collapse file tree 1 file changed +17
-17
lines changed
Expand file tree Collapse file tree 1 file changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -18,11 +18,11 @@ export type ResolverReturnType = ReturnType<typeof resolver> & {
1818
1919export type HandlerUniqueProperty =
2020 | ( ResolverReturnType & {
21- target : keyof ValidationTargets ;
22- } )
21+ target : keyof ValidationTargets ;
22+ } )
2323 | {
24- spec : DescribeRouteOptions ;
25- } ;
24+ spec : DescribeRouteOptions ;
25+ } ;
2626
2727export type GenerateSpecOptions = {
2828 /**
@@ -84,24 +84,24 @@ export type DescribeRouteOptions = Omit<
8484 * Pass `true` to hide route from OpenAPI/swagger document
8585 */
8686 hide ?:
87- | boolean
88- | ( ( props : { c ?: Context ; method : string ; path : string } ) => boolean ) ;
87+ | boolean
88+ | ( ( props : { c ?: Context ; method : string ; path : string } ) => boolean ) ;
8989 /**
9090 * Responses of the request
9191 */
9292 responses ?: {
9393 [ key : string ] :
94- | ( OpenAPIV3_1 . ResponseObject & {
95- content ?: {
96- [ key : string ] : Omit < OpenAPIV3_1 . MediaTypeObject , "schema" > & {
97- schema ?:
98- | OpenAPIV3_1 . ReferenceObject
99- | OpenAPIV3_1 . SchemaObject
100- | ResolverReturnType ;
101- } ;
102- } ;
103- } )
104- | OpenAPIV3_1 . ReferenceObject ;
94+ | ( OpenAPIV3_1 . ResponseObject & {
95+ content ?: {
96+ [ key : string ] : Omit < OpenAPIV3_1 . MediaTypeObject , "schema" > & {
97+ schema ?:
98+ | OpenAPIV3_1 . ReferenceObject
99+ | OpenAPIV3_1 . SchemaObject
100+ | ResolverReturnType ;
101+ } ;
102+ } ;
103+ } )
104+ | OpenAPIV3_1 . ReferenceObject ;
105105 } ;
106106} ;
107107
You can’t perform that action at this time.
0 commit comments