Documentation
¶
Index ¶
- func AssertEmptyOpenAPIFallback(t *testing.T, spec []byte, prefix string, mount MountFunc)
- func AssertOpenAPIConformance(t *testing.T, spec []byte, prefix string, mount MountFunc)
- func AssertOpenAPIRestRoute(t *testing.T, prefix string, mount MountFunc)
- func AssertPrefixedRedirect(t *testing.T, prefix string, mount MountFunc)
- type MountFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertEmptyOpenAPIFallback ¶
AssertEmptyOpenAPIFallback verifies that MountOpenAPI still mounts generated static-only apps whose OpenAPI report has no endpoint paths.
func AssertOpenAPIConformance ¶
AssertOpenAPIConformance verifies that an adapter serves every OpenAPI method/path route through the generated GOWDK handler and strips the host mount prefix before dispatch.
func AssertOpenAPIRestRoute ¶
AssertOpenAPIRestRoute verifies that adapters use x-gowdk.route to preserve final rest-param semantics lost by standard OpenAPI path syntax.
Types ¶
Click to show internal directories.
Click to hide internal directories.