Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for OpenAPI 3.1 #76

Merged
merged 11 commits into from
Aug 8, 2023
Merged

Add support for OpenAPI 3.1 #76

merged 11 commits into from
Aug 8, 2023

Conversation

vearutop
Copy link
Member

@vearutop vearutop commented Aug 6, 2023

Resolves #37.

@github-actions
Copy link

github-actions bot commented Aug 6, 2023

Lines Of Code

Language Files Lines Code Comments Blanks Complexity Bytes
Go 20 (+6) 3832 (+1649) 2843 (+1248) 214 (+75) 775 (+326) 791 (+358) 88.8K (+37.5K)
Go (gen) 2 (+1) 14222 (+5640) 9785 (+3890) 1209 (+489) 3228 (+1261) 2028 (+776) 314.5K (+123.9K)
Go (test) 18 (+7) 5501 (+2092) 4104 (+1462) 660 (+327) 737 (+303) 55 (+23) 144.2K (+55.1K)
JSON 16 (+9) 5610 (+3380) 5610 (+3380) 0 0 0 134.2K (+83.1K)
Makefile 1 54 (+8) 37 (+5) 6 (+1) 11 (+2) 8 (+3) 2.4K (+672B)
Markdown 4 233 204 0 29 0 6.7K (+9B)

@github-actions
Copy link

github-actions bot commented Aug 6, 2023

Go API Changes

# github.com/swaggest/openapi-go
## incompatible changes
SpecSchema.Description: added
SpecSchema.SetAPIKeySecurity: added
SpecSchema.SetHTTPBasicSecurity: added
SpecSchema.SetHTTPBearerTokenSecurity: added
SpecSchema.Title: added
SpecSchema.Version: added

# github.com/swaggest/openapi-go/openapi3
## compatible changes
(*Spec).Description: added
(*Spec).SetAPIKeySecurity: added
(*Spec).SetHTTPBasicSecurity: added
(*Spec).SetHTTPBearerTokenSecurity: added
(*Spec).Title: added
(*Spec).Version: added

# github.com/swaggest/openapi-go/openapi31
## compatible changes
package added

# summary
Inferred base version: v0.2.37
Suggested version: v0.3.0

@github-actions
Copy link

github-actions bot commented Aug 6, 2023

Unit Test Coverage

total: (statements) 39.7%
changed lines: (statements) 23.1%, coverage is less than 90.0%, consider testing the changes more thoroughly

Coverage of changed lines
File Function Coverage
Total 23.1%
openapi3/helper.go 54.5%
openapi3/helper.go:168 SetHTTPBasicSecurity 100.0%
openapi3/helper.go:180 SetAPIKeySecurity 100.0%
openapi3/helper.go:195 SetHTTPBearerTokenSecurity 100.0%
openapi3/helper.go:134 Title 0.0%
openapi3/helper.go:144 Description 0.0%
openapi3/helper.go:158 Version 0.0%
openapi3/jsonschema.go 100.0%
openapi3/jsonschema.go:18 ToJSONSchema 100.0%
openapi3/jsonschema.go:45 toJSONSchema 100.0%
openapi31/entities.go 6.0%
openapi31/entities.go:64 PathsEns 100.0%
openapi31/entities.go:96 ComponentsEns 100.0%
openapi31/entities.go:227 MarshalJSON 100.0%
openapi31/entities.go:244 WithTitle 100.0%
openapi31/entities.go:256 WithDescription 100.0%
openapi31/entities.go:298 WithVersion 100.0%
openapi31/entities.go:396 MarshalJSON 100.0%
openapi31/entities.go:893 WithSummary 100.0%
openapi31/entities.go:899 WithDescription 100.0%
openapi31/entities.go:1123 MarshalJSON 100.0%
openapi31/entities.go:1187 WithRequired 100.0%
openapi31/entities.go:1222 WithContentItem 100.0%
openapi31/entities.go:1233 WithStyle 100.0%
openapi31/entities.go:1239 WithExplode 100.0%
openapi31/entities.go:1371 MarshalJSON 100.0%
openapi31/entities.go:1527 MarshalJSON 100.0%
openapi31/entities.go:1777 MarshalJSON 100.0%
openapi31/entities.go:2048 MarshalJSON 100.0%
openapi31/entities.go:2214 MarshalJSON 100.0%
openapi31/entities.go:2275 WithParameters 100.0%
openapi31/entities.go:2287 RequestBodyEns 100.0%
openapi31/entities.go:2302 ResponsesEns 100.0%
openapi31/entities.go:2352 WithMapOfAnythingItem 100.0%
openapi31/entities.go:2432 MarshalJSON 100.0%
openapi31/entities.go:2557 WithDescription 100.0%
openapi31/entities.go:2569 WithContentItem 100.0%
openapi31/entities.go:2673 MarshalJSON 100.0%
openapi31/entities.go:2705 RequestBodyEns 100.0%
openapi31/entities.go:2744 MarshalJSON 100.0%
openapi31/entities.go:2777 WithMapOfResponseOrReferenceValuesItem 100.0%
openapi31/entities.go:2880 MarshalJSON 100.0%
openapi31/entities.go:3039 MarshalJSON 100.0%
openapi31/entities.go:3340 MarshalJSON 100.0%
openapi31/entities.go:3598 WithMapOfPathItemValuesItem 100.0%
openapi31/entities.go:3682 MarshalJSON 100.0%
openapi31/entities.go:3707 WithSchemasItem 100.0%
openapi31/entities.go:3809 WithSecuritySchemesItem 100.0%
openapi31/entities.go:3883 WithDescription 100.0%
openapi31/entities.go:4119 MarshalJSON 100.0%
openapi31/entities.go:4130 WithName 100.0%
openapi31/entities.go:4136 WithIn 100.0%
openapi31/entities.go:4190 MarshalJSON 100.0%
openapi31/entities.go:4200 WithScheme 100.0%
openapi31/entities.go:4253 MarshalJSON 100.0%
openapi31/entities.go:4266 WithScheme 100.0%
openapi31/entities.go:4272 WithBearerFormat 100.0%
openapi31/entities.go:4325 MarshalJSON 100.0%
openapi31/entities.go:5251 MarshalJSON 100.0%
openapi31/entities.go:5587 marshalUnion 61.0%
openapi31/entities.go:5394 MarshalJSON 60.0%
openapi31/entities.go:5498 MarshalJSON 60.0%
openapi31/entities.go:5549 MarshalJSON 60.0%
openapi31/entities.go:34 WithOpenapi 0.0%
openapi31/entities.go:40 WithInfo 0.0%
openapi31/entities.go:46 WithJSONSchemaDialect 0.0%
openapi31/entities.go:52 WithServers 0.0%
openapi31/entities.go:58 WithPaths 0.0%
openapi31/entities.go:73 WithWebhooks 0.0%
openapi31/entities.go:79 WithWebhooksItem 0.0%
openapi31/entities.go:90 WithComponents 0.0%
openapi31/entities.go:105 WithSecurity 0.0%
openapi31/entities.go:111 WithTags 0.0%
openapi31/entities.go:117 WithExternalDocs 0.0%
openapi31/entities.go:123 ExternalDocsEns 0.0%
openapi31/entities.go:132 WithMapOfAnything 0.0%
openapi31/entities.go:138 WithMapOfAnythingItem 0.0%
openapi31/entities.go:169 UnmarshalJSON 0.0%
openapi31/entities.go:250 WithSummary 0.0%
openapi31/entities.go:262 WithTermsOfService 0.0%
openapi31/entities.go:268 WithContact 0.0%
openapi31/entities.go:274 ContactEns 0.0%
openapi31/entities.go:283 WithLicense 0.0%
openapi31/entities.go:289 LicenseEns 0.0%
openapi31/entities.go:304 WithMapOfAnything 0.0%
openapi31/entities.go:310 WithMapOfAnythingItem 0.0%
openapi31/entities.go:338 UnmarshalJSON 0.0%
openapi31/entities.go:409 WithName 0.0%
openapi31/entities.go:415 WithURL 0.0%
openapi31/entities.go:421 WithEmail 0.0%
openapi31/entities.go:427 WithMapOfAnything 0.0%
openapi31/entities.go:433 WithMapOfAnythingItem 0.0%
openapi31/entities.go:452 UnmarshalJSON 0.0%
openapi31/entities.go:504 MarshalJSON 0.0%
openapi31/entities.go:517 WithName 0.0%
openapi31/entities.go:523 WithIdentifier 0.0%
openapi31/entities.go:529 WithURL 0.0%
openapi31/entities.go:535 WithMapOfAnything 0.0%
openapi31/entities.go:541 WithMapOfAnythingItem 0.0%
openapi31/entities.go:564 UnmarshalJSON 0.0%
openapi31/entities.go:622 MarshalJSON 0.0%
openapi31/entities.go:637 WithURL 0.0%
openapi31/entities.go:643 WithDescription 0.0%
openapi31/entities.go:649 WithVariables 0.0%
openapi31/entities.go:655 WithVariablesItem 0.0%
openapi31/entities.go:666 WithMapOfAnything 0.0%
openapi31/entities.go:672 WithMapOfAnythingItem 0.0%
openapi31/entities.go:695 UnmarshalJSON 0.0%
openapi31/entities.go:753 MarshalJSON 0.0%
openapi31/entities.go:766 WithEnum 0.0%
openapi31/entities.go:772 WithDefault 0.0%
openapi31/entities.go:778 WithDescription 0.0%
openapi31/entities.go:784 WithMapOfAnything 0.0%
openapi31/entities.go:790 WithMapOfAnythingItem 0.0%
openapi31/entities.go:813 UnmarshalJSON 0.0%
openapi31/entities.go:871 MarshalJSON 0.0%
openapi31/entities.go:905 WithServers 0.0%
openapi31/entities.go:911 WithParameters 0.0%
openapi31/entities.go:917 WithGet 0.0%
openapi31/entities.go:923 GetEns 0.0%
openapi31/entities.go:932 WithPut 0.0%
openapi31/entities.go:938 PutEns 0.0%
openapi31/entities.go:947 WithPost 0.0%
openapi31/entities.go:953 PostEns 0.0%
openapi31/entities.go:962 WithDelete 0.0%
openapi31/entities.go:968 DeleteEns 0.0%
openapi31/entities.go:977 WithOptions 0.0%
openapi31/entities.go:983 OptionsEns 0.0%
openapi31/entities.go:992 WithHead 0.0%
openapi31/entities.go:998 HeadEns 0.0%
openapi31/entities.go:1007 WithPatch 0.0%
openapi31/entities.go:1013 PatchEns 0.0%
openapi31/entities.go:1022 WithTrace 0.0%
openapi31/entities.go:1028 TraceEns 0.0%
openapi31/entities.go:1037 WithMapOfAnything 0.0%
openapi31/entities.go:1043 WithMapOfAnythingItem 0.0%
openapi31/entities.go:1071 UnmarshalJSON 0.0%
openapi31/entities.go:1135 WithRef 0.0%
openapi31/entities.go:1141 WithSummary 0.0%
openapi31/entities.go:1147 WithDescription 0.0%
openapi31/entities.go:1169 WithName 0.0%
openapi31/entities.go:1175 WithIn 0.0%
openapi31/entities.go:1181 WithDescription 0.0%
openapi31/entities.go:1193 WithDeprecated 0.0%
openapi31/entities.go:1199 WithSchema 0.0%
openapi31/entities.go:1205 WithSchemaItem 0.0%
openapi31/entities.go:1216 WithContent 0.0%
openapi31/entities.go:1245 WithExample 0.0%
openapi31/entities.go:1251 WithExamples 0.0%
openapi31/entities.go:1257 WithExamplesItem 0.0%
openapi31/entities.go:1268 WithMapOfAnything 0.0%
openapi31/entities.go:1274 WithMapOfAnythingItem 0.0%
openapi31/entities.go:1306 UnmarshalJSON 0.0%
openapi31/entities.go:1385 WithSchema 0.0%
openapi31/entities.go:1391 WithSchemaItem 0.0%
openapi31/entities.go:1402 WithEncoding 0.0%
openapi31/entities.go:1408 WithEncodingItem 0.0%
openapi31/entities.go:1419 WithExample 0.0%
openapi31/entities.go:1425 WithExamples 0.0%
openapi31/entities.go:1431 WithExamplesItem 0.0%
openapi31/entities.go:1442 WithMapOfAnything 0.0%
openapi31/entities.go:1448 WithMapOfAnythingItem 0.0%
openapi31/entities.go:1468 UnmarshalJSON 0.0%
openapi31/entities.go:1541 WithContentType 0.0%
openapi31/entities.go:1547 WithHeaders 0.0%
openapi31/entities.go:1553 WithHeadersItem 0.0%
openapi31/entities.go:1564 WithStyle 0.0%
openapi31/entities.go:1570 WithExplode 0.0%
openapi31/entities.go:1576 WithAllowReserved 0.0%
openapi31/entities.go:1595 WithDescription 0.0%
openapi31/entities.go:1601 WithRequired 0.0%
openapi31/entities.go:1607 WithDeprecated 0.0%
openapi31/entities.go:1613 WithSchema 0.0%
openapi31/entities.go:1619 WithSchemaItem 0.0%
openapi31/entities.go:1630 WithContent 0.0%
openapi31/entities.go:1636 WithContentItem 0.0%
openapi31/entities.go:1647 WithExample 0.0%
openapi31/entities.go:1653 WithExamples 0.0%
openapi31/entities.go:1659 WithExamplesItem 0.0%
openapi31/entities.go:1670 WithExplode 0.0%
openapi31/entities.go:1676 WithMapOfAnything 0.0%
openapi31/entities.go:1682 WithMapOfAnythingItem 0.0%
openapi31/entities.go:1707 UnmarshalJSON 0.0%
openapi31/entities.go:1791 WithSummary 0.0%
openapi31/entities.go:1797 WithDescription 0.0%
openapi31/entities.go:1803 WithValue 0.0%
openapi31/entities.go:1809 WithExternalValue 0.0%
openapi31/entities.go:1815 WithMapOfAnything 0.0%
openapi31/entities.go:1821 WithMapOfAnythingItem 0.0%
openapi31/entities.go:1841 UnmarshalJSON 0.0%
openapi31/entities.go:1906 MarshalJSON 0.0%
openapi31/entities.go:1917 WithReference 0.0%
openapi31/entities.go:1923 ReferenceEns 0.0%
openapi31/entities.go:1932 WithExample 0.0%
openapi31/entities.go:1938 ExampleEns 0.0%
openapi31/entities.go:1947 UnmarshalJSON 0.0%
openapi31/entities.go:1977 MarshalJSON 0.0%
openapi31/entities.go:1988 WithReference 0.0%
openapi31/entities.go:1994 ReferenceEns 0.0%
openapi31/entities.go:2003 WithHeader 0.0%
openapi31/entities.go:2009 HeaderEns 0.0%
openapi31/entities.go:2018 UnmarshalJSON 0.0%
openapi31/entities.go:2058 WithMapOfAnything 0.0%
openapi31/entities.go:2064 WithMapOfAnythingItem 0.0%
openapi31/entities.go:2075 UnmarshalJSON 0.0%
openapi31/entities.go:2114 MarshalJSON 0.0%
openapi31/entities.go:2125 WithExample 0.0%
openapi31/entities.go:2131 WithExamples 0.0%
openapi31/entities.go:2137 WithExamplesItem 0.0%
openapi31/entities.go:2154 WithReference 0.0%
openapi31/entities.go:2160 ReferenceEns 0.0%
openapi31/entities.go:2169 WithParameter 0.0%
openapi31/entities.go:2175 ParameterEns 0.0%
openapi31/entities.go:2184 UnmarshalJSON 0.0%
openapi31/entities.go:2236 WithTags 0.0%
openapi31/entities.go:2242 WithSummary 0.0%
openapi31/entities.go:2248 WithDescription 0.0%
openapi31/entities.go:2254 WithExternalDocs 0.0%
openapi31/entities.go:2260 ExternalDocsEns 0.0%
openapi31/entities.go:2269 WithID 0.0%
openapi31/entities.go:2281 WithRequestBody 0.0%
openapi31/entities.go:2296 WithResponses 0.0%
openapi31/entities.go:2311 WithCallbacks 0.0%
openapi31/entities.go:2317 WithCallbacksItem 0.0%
openapi31/entities.go:2328 WithDeprecated 0.0%
openapi31/entities.go:2334 WithSecurity 0.0%
openapi31/entities.go:2340 WithServers 0.0%
openapi31/entities.go:2346 WithMapOfAnything 0.0%
openapi31/entities.go:2380 UnmarshalJSON 0.0%
openapi31/entities.go:2446 WithDescription 0.0%
openapi31/entities.go:2452 WithURL 0.0%
openapi31/entities.go:2458 WithMapOfAnything 0.0%
openapi31/entities.go:2464 WithMapOfAnythingItem 0.0%
openapi31/entities.go:2486 UnmarshalJSON 0.0%
openapi31/entities.go:2544 MarshalJSON 0.0%
openapi31/entities.go:2563 WithContent 0.0%
openapi31/entities.go:2580 WithRequired 0.0%
openapi31/entities.go:2586 WithMapOfAnything 0.0%
openapi31/entities.go:2592 WithMapOfAnythingItem 0.0%
openapi31/entities.go:2615 UnmarshalJSON 0.0%
openapi31/entities.go:2684 WithReference 0.0%
openapi31/entities.go:2690 ReferenceEns 0.0%
openapi31/entities.go:2699 WithRequestBody 0.0%
openapi31/entities.go:2714 UnmarshalJSON 0.0%
openapi31/entities.go:2756 WithDefault 0.0%
openapi31/entities.go:2762 DefaultEns 0.0%
openapi31/entities.go:2771 WithMapOfResponseOrReferenceValues 0.0%
openapi31/entities.go:2788 WithMapOfAnything 0.0%
openapi31/entities.go:2794 WithMapOfAnythingItem 0.0%
openapi31/entities.go:2811 UnmarshalJSON 0.0%
openapi31/entities.go:2894 WithDescription 0.0%
openapi31/entities.go:2900 WithHeaders 0.0%
openapi31/entities.go:2906 WithHeadersItem 0.0%
openapi31/entities.go:2917 WithContent 0.0%
openapi31/entities.go:2923 WithContentItem 0.0%
openapi31/entities.go:2934 WithLinks 0.0%
openapi31/entities.go:2940 WithLinksItem 0.0%
openapi31/entities.go:2951 WithMapOfAnything 0.0%
openapi31/entities.go:2957 WithMapOfAnythingItem 0.0%
openapi31/entities.go:2981 UnmarshalJSON 0.0%
openapi31/entities.go:3055 WithOperationRef 0.0%
openapi31/entities.go:3061 WithOperationID 0.0%
openapi31/entities.go:3067 WithParameters 0.0%
openapi31/entities.go:3073 WithParametersItem 0.0%
openapi31/entities.go:3084 WithRequestBody 0.0%
openapi31/entities.go:3090 WithDescription 0.0%
openapi31/entities.go:3096 WithBody 0.0%
openapi31/entities.go:3102 BodyEns 0.0%
openapi31/entities.go:3111 WithMapOfAnything 0.0%
openapi31/entities.go:3117 WithMapOfAnythingItem 0.0%
openapi31/entities.go:3139 UnmarshalJSON 0.0%
openapi31/entities.go:3198 MarshalJSON 0.0%
openapi31/entities.go:3209 WithReference 0.0%
openapi31/entities.go:3215 ReferenceEns 0.0%
openapi31/entities.go:3224 WithLink 0.0%
openapi31/entities.go:3230 LinkEns 0.0%
openapi31/entities.go:3239 UnmarshalJSON 0.0%
openapi31/entities.go:3269 MarshalJSON 0.0%
openapi31/entities.go:3280 WithReference 0.0%
openapi31/entities.go:3286 ReferenceEns 0.0%
openapi31/entities.go:3295 WithResponse 0.0%
openapi31/entities.go:3301 ResponseEns 0.0%
openapi31/entities.go:3310 UnmarshalJSON 0.0%
openapi31/entities.go:3351 WithMapOfAnything 0.0%
openapi31/entities.go:3357 WithMapOfAnythingItem 0.0%
openapi31/entities.go:3368 WithAdditionalProperties 0.0%
openapi31/entities.go:3374 WithAdditionalPropertiesItem 0.0%
openapi31/entities.go:3385 UnmarshalJSON 0.0%
openapi31/entities.go:3439 MarshalJSON 0.0%
openapi31/entities.go:3450 WithReference 0.0%
openapi31/entities.go:3456 ReferenceEns 0.0%
openapi31/entities.go:3465 WithPathItem 0.0%
openapi31/entities.go:3471 PathItemEns 0.0%
openapi31/entities.go:3480 UnmarshalJSON 0.0%
openapi31/entities.go:3510 MarshalJSON 0.0%
openapi31/entities.go:3521 WithReference 0.0%
openapi31/entities.go:3527 ReferenceEns 0.0%
openapi31/entities.go:3536 WithCallbacks 0.0%
openapi31/entities.go:3542 CallbacksEns 0.0%
openapi31/entities.go:3551 UnmarshalJSON 0.0%
openapi31/entities.go:3581 MarshalJSON 0.0%
openapi31/entities.go:3592 WithMapOfPathItemValues 0.0%
openapi31/entities.go:3609 WithMapOfAnything 0.0%
openapi31/entities.go:3615 WithMapOfAnythingItem 0.0%
openapi31/entities.go:3626 UnmarshalJSON 0.0%
openapi31/entities.go:3701 WithSchemas 0.0%
openapi31/entities.go:3718 WithResponses 0.0%
openapi31/entities.go:3724 WithResponsesItem 0.0%
openapi31/entities.go:3735 WithParameters 0.0%
openapi31/entities.go:3741 WithParametersItem 0.0%
openapi31/entities.go:3752 WithExamples 0.0%
openapi31/entities.go:3758 WithExamplesItem 0.0%
openapi31/entities.go:3769 WithRequestBodies 0.0%
openapi31/entities.go:3775 WithRequestBodiesItem 0.0%
openapi31/entities.go:3786 WithHeaders 0.0%
openapi31/entities.go:3792 WithHeadersItem 0.0%
openapi31/entities.go:3803 WithSecuritySchemes 0.0%
openapi31/entities.go:3820 WithLinks 0.0%
openapi31/entities.go:3826 WithLinksItem 0.0%
openapi31/entities.go:3837 WithCallbacks 0.0%
openapi31/entities.go:3843 WithCallbacksItem 0.0%
openapi31/entities.go:3854 WithPathItems 0.0%
openapi31/entities.go:3860 WithPathItemsItem 0.0%
openapi31/entities.go:3889 WithAPIKey 0.0%
openapi31/entities.go:3895 APIKeyEns 0.0%
openapi31/entities.go:3904 WithHTTP 0.0%
openapi31/entities.go:3910 HTTPEns 0.0%
openapi31/entities.go:3919 WithHTTPBearer 0.0%
openapi31/entities.go:3925 HTTPBearerEns 0.0%
openapi31/entities.go:3934 WithOauth2 0.0%
openapi31/entities.go:3940 Oauth2Ens 0.0%
openapi31/entities.go:3949 WithOidc 0.0%
openapi31/entities.go:3955 OidcEns 0.0%
openapi31/entities.go:3964 WithMutualTLS 0.0%
openapi31/entities.go:3970 MutualTLSEns 0.0%
openapi31/entities.go:3979 WithMapOfAnything 0.0%
openapi31/entities.go:3985 WithMapOfAnythingItem 0.0%
openapi31/entities.go:4006 UnmarshalJSON 0.0%
openapi31/entities.go:4150 UnmarshalJSON 0.0%
openapi31/entities.go:4213 UnmarshalJSON 0.0%
openapi31/entities.go:4285 UnmarshalJSON 0.0%
openapi31/entities.go:4335 WithFlows 0.0%
openapi31/entities.go:4348 UnmarshalJSON 0.0%
openapi31/entities.go:4388 MarshalJSON 0.0%
openapi31/entities.go:4402 WithImplicit 0.0%
openapi31/entities.go:4408 ImplicitEns 0.0%
openapi31/entities.go:4417 WithPassword 0.0%
openapi31/entities.go:4423 PasswordEns 0.0%
openapi31/entities.go:4432 WithClientCredentials 0.0%
openapi31/entities.go:4438 ClientCredentialsEns 0.0%
openapi31/entities.go:4447 WithAuthorizationCode 0.0%
openapi31/entities.go:4453 AuthorizationCodeEns 0.0%
openapi31/entities.go:4462 WithMapOfAnything 0.0%
openapi31/entities.go:4468 WithMapOfAnythingItem 0.0%
openapi31/entities.go:4488 UnmarshalJSON 0.0%
openapi31/entities.go:4540 MarshalJSON 0.0%
openapi31/entities.go:4555 WithAuthorizationURL 0.0%
openapi31/entities.go:4561 WithRefreshURL 0.0%
openapi31/entities.go:4567 WithScopes 0.0%
openapi31/entities.go:4573 WithScopesItem 0.0%
openapi31/entities.go:4584 WithMapOfAnything 0.0%
openapi31/entities.go:4590 WithMapOfAnythingItem 0.0%
openapi31/entities.go:4614 UnmarshalJSON 0.0%
openapi31/entities.go:4672 MarshalJSON 0.0%
openapi31/entities.go:4687 WithTokenURL 0.0%
openapi31/entities.go:4693 WithRefreshURL 0.0%
openapi31/entities.go:4699 WithScopes 0.0%
openapi31/entities.go:4705 WithScopesItem 0.0%
openapi31/entities.go:4716 WithMapOfAnything 0.0%
openapi31/entities.go:4722 WithMapOfAnythingItem 0.0%
openapi31/entities.go:4746 UnmarshalJSON 0.0%
openapi31/entities.go:4804 MarshalJSON 0.0%
openapi31/entities.go:4819 WithTokenURL 0.0%
openapi31/entities.go:4825 WithRefreshURL 0.0%
openapi31/entities.go:4831 WithScopes 0.0%
openapi31/entities.go:4837 WithScopesItem 0.0%
openapi31/entities.go:4848 WithMapOfAnything 0.0%
openapi31/entities.go:4854 WithMapOfAnythingItem 0.0%
openapi31/entities.go:4878 UnmarshalJSON 0.0%
openapi31/entities.go:4936 MarshalJSON 0.0%
openapi31/entities.go:4954 WithAuthorizationURL 0.0%
openapi31/entities.go:4960 WithTokenURL 0.0%
openapi31/entities.go:4966 WithRefreshURL 0.0%
openapi31/entities.go:4972 WithScopes 0.0%
openapi31/entities.go:4978 WithScopesItem 0.0%
openapi31/entities.go:4989 WithMapOfAnything 0.0%
openapi31/entities.go:4995 WithMapOfAnythingItem 0.0%
openapi31/entities.go:5021 UnmarshalJSON 0.0%
openapi31/entities.go:5079 MarshalJSON 0.0%
openapi31/entities.go:5091 WithOpenIDConnectURL 0.0%
openapi31/entities.go:5104 UnmarshalJSON 0.0%
openapi31/entities.go:5144 MarshalJSON 0.0%
openapi31/entities.go:5155 UnmarshalJSON 0.0%
openapi31/entities.go:5180 MarshalJSON 0.0%
openapi31/entities.go:5191 WithReference 0.0%
openapi31/entities.go:5197 ReferenceEns 0.0%
openapi31/entities.go:5206 WithSecurityScheme 0.0%
openapi31/entities.go:5212 SecuritySchemeEns 0.0%
openapi31/entities.go:5221 UnmarshalJSON 0.0%
openapi31/entities.go:5264 WithName 0.0%
openapi31/entities.go:5270 WithDescription 0.0%
openapi31/entities.go:5276 WithExternalDocs 0.0%
openapi31/entities.go:5282 ExternalDocsEns 0.0%
openapi31/entities.go:5291 WithMapOfAnything 0.0%
openapi31/entities.go:5297 WithMapOfAnythingItem 0.0%
openapi31/entities.go:5320 UnmarshalJSON 0.0%
openapi31/entities.go:5378 MarshalJSON 0.0%
openapi31/entities.go:5409 UnmarshalJSON 0.0%
openapi31/entities.go:5446 MarshalJSON 0.0%
openapi31/entities.go:5461 UnmarshalJSON 0.0%
openapi31/entities.go:5513 UnmarshalJSON 0.0%
openapi31/entities.go:5563 UnmarshalJSON 0.0%
openapi31/helper.go 85.6%
openapi31/helper.go:14 ToParameterOrRef 100.0%
openapi31/helper.go:155 AddOperation 100.0%
openapi31/helper.go:186 UnknownParamIsForbidden 100.0%
openapi31/helper.go:200 SetTitle 100.0%
openapi31/helper.go:214 SetDescription 100.0%
openapi31/helper.go:224 SetVersion 100.0%
openapi31/helper.go:229 SetHTTPBasicSecurity 100.0%
openapi31/helper.go:241 SetAPIKeySecurity 100.0%
openapi31/helper.go:255 SetHTTPBearerTokenSecurity 100.0%
openapi31/helper.go:114 validatePathParams 97.7%
openapi31/helper.go:21 Operation 90.0%
openapi31/helper.go:73 SetupOperation 85.7%
openapi31/helper.go:45 SetOperation 85.2%
openapi31/helper.go:195 Title 0.0%
openapi31/helper.go:205 Description 0.0%
openapi31/helper.go:219 Version 0.0%
openapi31/jsonschema.go 80.4%
openapi31/jsonschema.go:30 ToJSONSchema 98.3%
openapi31/jsonschema.go:64 findReferences 84.9%
openapi31/jsonschema.go:9 isDeprecated 63.6%
openapi31/reflect.go 82.4%
openapi31/reflect.go:28 NewReflector 100.0%
openapi31/reflect.go:109 SpecEns 100.0%
openapi31/reflect.go:130 AddSecurity 100.0%
openapi31/reflect.go:163 Operation 100.0%
openapi31/reflect.go:256 stringRequestBody 100.0%
openapi31/reflect.go:390 parseParameters 100.0%
openapi31/reflect.go:539 sanitizeDefName 100.0%
openapi31/reflect.go:718 ensureResponseContentType 100.0%
openapi31/reflect.go:781 SpecSchema 100.0%
openapi31/reflect.go:264 parseRequestBody 96.9%
openapi31/reflect.go:562 parseResponseHeader 96.0%
openapi31/reflect.go:627 hasJSONBody 95.9%
openapi31/reflect.go:545 collectDefinition 94.4%
openapi31/reflect.go:728 parseJSONResponse 93.3%
openapi31/reflect.go:398 parseParametersIn 91.4%
openapi31/reflect.go:37 NewOperationContext 90.2%
openapi31/reflect.go:238 mediaType 89.3%
openapi31/reflect.go:73 ResolveJSONSchemaRef 87.5%
openapi31/reflect.go:653 setupResponse 80.7%
openapi31/reflect.go:92 joinErrors 76.5%
openapi31/reflect.go:168 AddOperation 66.7%
openapi31/reflect.go:189 setupRequest 38.2%
openapi31/reflect.go:138 SetTags 0.0%
openapi31/reflect.go:142 SetIsDeprecated 0.0%
openapi31/reflect.go:146 SetSummary 0.0%
openapi31/reflect.go:150 SetDescription 0.0%
openapi31/reflect.go:154 SetID 0.0%
openapi31/reflect.go:158 UnknownParamsAreForbidden 0.0%
openapi31/reflect.go:786 JSONSchemaReflector 0.0%
openapi31/walk_schema.go 72.5%
openapi31/walk_schema.go:60 provideHeaderSchemas 88.6%
openapi31/walk_schema.go:13 WalkResponseJSONSchemas 88.1%
openapi31/walk_schema.go:85 WalkRequestJSONSchemas 84.4%
openapi31/walk_schema.go:170 provideParametersJSONSchemas 83.3%
openapi31/walk_schema.go:199 paramSchema 76.5%
openapi31/walk_schema.go:141 provideFormDataSchemas 58.9%
openapi31/yaml.go 53.0%
openapi31/yaml.go:50 UnmarshalJSON 89.2%
openapi31/yaml.go:32 MarshalYAML 86.7%
openapi31/yaml.go:107 skipValue 85.7%
openapi31/yaml.go:73 objectKeys 85.2%
openapi31/yaml.go:13 UnmarshalYAML 0.0%
openapi31/yaml.go:146 convertMapI2MapS 0.0%
Coverage diff with base branch
File Function Base Coverage Current Coverage
Total 51.1% 39.7% (-11.4%)
github.com/swaggest/openapi-go/openapi3/helper.go Description no function 0.0%
github.com/swaggest/openapi-go/openapi3/helper.go SetAPIKeySecurity no function 100.0%
github.com/swaggest/openapi-go/openapi3/helper.go SetHTTPBasicSecurity no function 100.0%
github.com/swaggest/openapi-go/openapi3/helper.go SetHTTPBearerTokenSecurity no function 100.0%
github.com/swaggest/openapi-go/openapi3/helper.go Title no function 0.0%
github.com/swaggest/openapi-go/openapi3/helper.go Version no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go APIKeyEns no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go AuthorizationCodeEns no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go BodyEns no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go CallbacksEns no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go ClientCredentialsEns no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go ComponentsEns no function 100.0%
github.com/swaggest/openapi-go/openapi31/entities.go ContactEns no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go DefaultEns no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go DeleteEns no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go ExampleEns no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go ExternalDocsEns no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go GetEns no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go HTTPBearerEns no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go HTTPEns no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go HeadEns no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go HeaderEns no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go ImplicitEns no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go LicenseEns no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go LinkEns no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go MarshalJSON no function 66.7%
github.com/swaggest/openapi-go/openapi31/entities.go MutualTLSEns no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go Oauth2Ens no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go OidcEns no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go OptionsEns no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go ParameterEns no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go PasswordEns no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go PatchEns no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go PathItemEns no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go PathsEns no function 100.0%
github.com/swaggest/openapi-go/openapi31/entities.go PostEns no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go PutEns no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go ReferenceEns no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go RequestBodyEns no function 100.0%
github.com/swaggest/openapi-go/openapi31/entities.go ResponseEns no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go ResponsesEns no function 100.0%
github.com/swaggest/openapi-go/openapi31/entities.go SecuritySchemeEns no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go TraceEns no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go UnmarshalJSON no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithAPIKey no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithAdditionalProperties no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithAdditionalPropertiesItem no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithAllowReserved no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithAuthorizationCode no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithAuthorizationURL no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithBearerFormat no function 100.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithBody no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithCallbacks no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithCallbacksItem no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithClientCredentials no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithComponents no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithContact no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithContent no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithContentItem no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithContentType no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithDefault no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithDelete no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithDeprecated no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithDescription no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithEmail no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithEncoding no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithEncodingItem no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithEnum no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithExample no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithExamples no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithExamplesItem no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithExplode no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithExternalDocs no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithExternalValue no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithFlows no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithGet no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithHTTP no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithHTTPBearer no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithHead no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithHeader no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithHeaders no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithHeadersItem no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithID no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithIdentifier no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithImplicit no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithIn no function 100.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithInfo no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithJSONSchemaDialect no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithLicense no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithLink no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithLinks no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithLinksItem no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithMapOfAnything no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithMapOfAnythingItem no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithMapOfPathItemValues no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithMapOfPathItemValuesItem no function 100.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithMapOfResponseOrReferenceValues no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithMapOfResponseOrReferenceValuesItem no function 100.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithMutualTLS no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithName no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithOauth2 no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithOidc no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithOpenIDConnectURL no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithOpenapi no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithOperationID no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithOperationRef no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithOptions no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithParameter no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithParameters no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithParametersItem no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithPassword no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithPatch no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithPathItem no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithPathItems no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithPathItemsItem no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithPaths no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithPost no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithPut no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithRef no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithReference no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithRefreshURL no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithRequestBodies no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithRequestBodiesItem no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithRequestBody no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithRequired no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithResponse no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithResponses no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithResponsesItem no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithSchema no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithSchemaItem no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithSchemas no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithSchemasItem no function 100.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithScheme no function 100.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithScopes no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithScopesItem no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithSecurity no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithSecurityScheme no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithSecuritySchemes no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithSecuritySchemesItem no function 100.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithServers no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithStyle no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithSummary no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithTags no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithTermsOfService no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithTitle no function 100.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithTokenURL no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithTrace no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithURL no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithValue no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithVariables no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithVariablesItem no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithVersion no function 100.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithWebhooks no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go WithWebhooksItem no function 0.0%
github.com/swaggest/openapi-go/openapi31/entities.go marshalUnion no function 66.7%
github.com/swaggest/openapi-go/openapi31/helper.go AddOperation no function 100.0%
github.com/swaggest/openapi-go/openapi31/helper.go Description no function 0.0%
github.com/swaggest/openapi-go/openapi31/helper.go Operation no function 90.0%
github.com/swaggest/openapi-go/openapi31/helper.go SetAPIKeySecurity no function 100.0%
github.com/swaggest/openapi-go/openapi31/helper.go SetDescription no function 100.0%
github.com/swaggest/openapi-go/openapi31/helper.go SetHTTPBasicSecurity no function 100.0%
github.com/swaggest/openapi-go/openapi31/helper.go SetHTTPBearerTokenSecurity no function 100.0%
github.com/swaggest/openapi-go/openapi31/helper.go SetOperation no function 83.3%
github.com/swaggest/openapi-go/openapi31/helper.go SetTitle no function 100.0%
github.com/swaggest/openapi-go/openapi31/helper.go SetVersion no function 100.0%
github.com/swaggest/openapi-go/openapi31/helper.go SetupOperation no function 81.0%
github.com/swaggest/openapi-go/openapi31/helper.go Title no function 0.0%
github.com/swaggest/openapi-go/openapi31/helper.go ToParameterOrRef no function 100.0%
github.com/swaggest/openapi-go/openapi31/helper.go UnknownParamIsForbidden no function 100.0%
github.com/swaggest/openapi-go/openapi31/helper.go Version no function 0.0%
github.com/swaggest/openapi-go/openapi31/helper.go validatePathParams no function 94.4%
github.com/swaggest/openapi-go/openapi31/jsonschema.go ToJSONSchema no function 92.3%
github.com/swaggest/openapi-go/openapi31/jsonschema.go findReferences no function 78.8%
github.com/swaggest/openapi-go/openapi31/jsonschema.go isDeprecated no function 60.0%
github.com/swaggest/openapi-go/openapi31/reflect.go AddOperation no function 60.0%
github.com/swaggest/openapi-go/openapi31/reflect.go AddSecurity no function 100.0%
github.com/swaggest/openapi-go/openapi31/reflect.go JSONSchemaReflector no function 0.0%
github.com/swaggest/openapi-go/openapi31/reflect.go NewOperationContext no function 80.0%
github.com/swaggest/openapi-go/openapi31/reflect.go NewReflector no function 100.0%
github.com/swaggest/openapi-go/openapi31/reflect.go Operation no function 100.0%
github.com/swaggest/openapi-go/openapi31/reflect.go ResolveJSONSchemaRef no function 75.0%
github.com/swaggest/openapi-go/openapi31/reflect.go SetDescription no function 0.0%
github.com/swaggest/openapi-go/openapi31/reflect.go SetID no function 0.0%
github.com/swaggest/openapi-go/openapi31/reflect.go SetIsDeprecated no function 0.0%
github.com/swaggest/openapi-go/openapi31/reflect.go SetSummary no function 0.0%
github.com/swaggest/openapi-go/openapi31/reflect.go SetTags no function 0.0%
github.com/swaggest/openapi-go/openapi31/reflect.go SpecEns no function 100.0%
github.com/swaggest/openapi-go/openapi31/reflect.go SpecSchema no function 100.0%
github.com/swaggest/openapi-go/openapi31/reflect.go UnknownParamsAreForbidden no function 0.0%
github.com/swaggest/openapi-go/openapi31/reflect.go collectDefinition no function 87.5%
github.com/swaggest/openapi-go/openapi31/reflect.go ensureResponseContentType no function 100.0%
github.com/swaggest/openapi-go/openapi31/reflect.go hasJSONBody no function 86.7%
github.com/swaggest/openapi-go/openapi31/reflect.go joinErrors no function 71.4%
github.com/swaggest/openapi-go/openapi31/reflect.go mediaType no function 75.0%
github.com/swaggest/openapi-go/openapi31/reflect.go parseJSONResponse no function 85.0%
github.com/swaggest/openapi-go/openapi31/reflect.go parseParameters no function 100.0%
github.com/swaggest/openapi-go/openapi31/reflect.go parseParametersIn no function 82.8%
github.com/swaggest/openapi-go/openapi31/reflect.go parseRequestBody no function 94.2%
github.com/swaggest/openapi-go/openapi31/reflect.go parseResponseHeader no function 88.5%
github.com/swaggest/openapi-go/openapi31/reflect.go sanitizeDefName no function 100.0%
github.com/swaggest/openapi-go/openapi31/reflect.go setupRequest no function 58.3%
github.com/swaggest/openapi-go/openapi31/reflect.go setupResponse no function 83.3%
github.com/swaggest/openapi-go/openapi31/reflect.go stringRequestBody no function 100.0%
github.com/swaggest/openapi-go/openapi31/walk_schema.go WalkRequestJSONSchemas no function 79.2%
github.com/swaggest/openapi-go/openapi31/walk_schema.go WalkResponseJSONSchemas no function 81.0%
github.com/swaggest/openapi-go/openapi31/walk_schema.go paramSchema no function 60.0%
github.com/swaggest/openapi-go/openapi31/walk_schema.go provideFormDataSchemas no function 53.3%
github.com/swaggest/openapi-go/openapi31/walk_schema.go provideHeaderSchemas no function 75.0%
github.com/swaggest/openapi-go/openapi31/walk_schema.go provideParametersJSONSchemas no function 71.4%
github.com/swaggest/openapi-go/openapi31/yaml.go MarshalYAML no function 75.0%
github.com/swaggest/openapi-go/openapi31/yaml.go UnmarshalJSON no function 80.0%
github.com/swaggest/openapi-go/openapi31/yaml.go UnmarshalYAML no function 0.0%
github.com/swaggest/openapi-go/openapi31/yaml.go convertMapI2MapS no function 0.0%
github.com/swaggest/openapi-go/openapi31/yaml.go objectKeys no function 75.0%
github.com/swaggest/openapi-go/openapi31/yaml.go skipValue no function 81.8%

@codecov
Copy link

codecov bot commented Aug 6, 2023

Codecov Report

Merging #76 (6bc9e00) into master (c843b39) will decrease coverage by 7.84%.
The diff coverage is 70.90%.

@@            Coverage Diff             @@
##           master      #76      +/-   ##
==========================================
- Coverage   43.47%   35.64%   -7.84%     
==========================================
  Files           8       14       +6     
  Lines        3837     6546    +2709     
==========================================
+ Hits         1668     2333     +665     
- Misses       1860     3828    +1968     
- Partials      309      385      +76     
Flag Coverage Δ
unittests 35.64% <70.90%> (-7.84%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
openapi3/yaml.go 61.42% <ø> (ø)
openapi31/entities.go 6.28% <ø> (ø)
openapi31/yaml.go 40.00% <40.00%> (ø)
openapi31/walk_schema.go 53.84% <53.84%> (ø)
openapi31/jsonschema.go 68.62% <68.62%> (ø)
openapi31/reflect.go 74.54% <74.54%> (ø)
openapi31/helper.go 84.32% <84.32%> (ø)
openapi3/helper.go 88.63% <86.11%> (-1.75%) ⬇️
openapi3/jsonschema.go 63.68% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@vearutop vearutop merged commit 893f0c9 into master Aug 8, 2023
7 of 8 checks passed
@vearutop vearutop deleted the openapi31 branch August 8, 2023 18:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support OAS3.1 ?
1 participant