File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
packages/openapi-generator/test Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -2971,7 +2971,7 @@ const InvalidError = t.intersection([
29712971const ApiError = t.type({
29722972 error: t.string,
29732973});
2974- `
2974+ ` ;
29752975
29762976testCase ( 'route with api error schema' , ROUTE_WITH_SCHEMA_WITH_COMMENT , {
29772977 openapi : '3.0.3' ,
@@ -3244,7 +3244,8 @@ export const route = h.httpRoute({
32443244 400: ApiError
32453245 },
32463246})
3247- `
3247+ ` ;
3248+
32483249testCase ( 'route with many response codes uses default status code descriptions' , SCHEMA_WITH_MANY_RESPONSE_TYPES , {
32493250 openapi : '3.0.3' ,
32503251 info : {
@@ -3329,7 +3330,7 @@ export const route = h.httpRoute({
33293330 400: t.union([t.boolean, t.boolean, t.boolean])
33303331 },
33313332})
3332- `
3333+ ` ;
33333334
33343335testCase ( 'route with reduntant response schemas' , SCHEMA_WITH_REDUNDANT_UNIONS , {
33353336 openapi : '3.0.3' ,
@@ -3485,7 +3486,7 @@ export const route = h.httpRoute({
34853486 200: t.literal('OK'),
34863487 },
34873488});
3488- `
3489+ ` ;
34893490
34903491testCase ( "route with titles in request bodies" , SCHEMA_WITH_TITLES_IN_REQUEST_BODIES , {
34913492 openapi : '3.0.3' ,
You can’t perform that action at this time.
0 commit comments