agent/openapi.yaml

42 lines
793 B
YAML
Raw Permalink Normal View History

openapi: 3.0.0
info:
title: API
version: 1.0.0
paths:
/api/users:
get:
summary: UserController@index
responses:
"200":
description: OK
/api/users:
post:
summary: UserController@store
responses:
"200":
description: OK
/api/users/{user}:
get:
summary: UserController@show
responses:
"200":
description: OK
/api/users/{user}:
put:
summary: UserController@update
responses:
"200":
description: OK
/api/users/{user}:
delete:
summary: UserController@destroy
responses:
"200":
description: OK
/api/auth/login:
post:
summary: AuthController@login
responses:
"200":
description: OK