Skip to main content

Crate ukiapi_macros

Crate ukiapi_macros 

Source

Attribute Macrosยง

delete
Define a DELETE endpoint.
get
Define a GET endpoint.
main
Macro to define the main entry point for a UkiApi application.
model
Macro to define a data model. Derives Serialize, Deserialize, JsonSchema, Validate, Clone, and TS.
patch
Define a PATCH endpoint.
post
Define a POST endpoint.
put
Define a PUT endpoint.
websocket
Define a WebSocket endpoint.