• Antoine Pelisse's avatar
    openapi: Add EmptyResource/CreateOpenAPISchemaFunc test utils · 9778b1a9
    Antoine Pelisse authored
    Add a new EmptyResource class that implements openapi.Resources, but
    just doesn't have any resources. That is useful for tests that expect
    the OpenAPISchema to be working, but don't expect any actual result.
    
    Also implement CreateOpenAPISchemaFunc to simply plug in the TestFactory
    code when you want to use an actual APISchema.
    9778b1a9
Name
Last commit
Last update
..
BUILD Loading commit data...
openapi.go Loading commit data...