1
0
Fork 0
mirror of https://gitlab.com/msrd0/gotham-restful.git synced 2025-04-20 06:54:46 +00:00

add trybuild tests for OpenapiType and Resource derive macros

This commit is contained in:
Dominic 2020-05-09 15:29:29 +02:00
parent 9ed24c9bcb
commit 6680887b84
Signed by: msrd0
GPG key ID: DCC8C247452E98F9
16 changed files with 149 additions and 3 deletions

View file

@ -0,0 +1,14 @@
#[macro_use] extern crate gotham_restful;
#[derive(Resource)]
#[resource(read_any)]
struct FooResource;
#[read_all(FooResource)]
fn read_all()
{
}
fn main()
{
}