feat(api): add swagger docs, /api/user/me GET and PUT endpoints
This commit is contained in:
parent
60c5bd909c
commit
f770e56071
1 changed files with 8 additions and 0 deletions
|
@ -4,11 +4,19 @@ import SwaggerUI from 'swagger-ui-react';
|
|||
import 'swagger-ui-react/swagger-ui.css';
|
||||
|
||||
type Props = {
|
||||
<<<<<<< HEAD
|
||||
spec: object;
|
||||
=======
|
||||
spec: object,
|
||||
>>>>>>> 57e420f (feat(api): add swagger docs, /api/user/me GET and PUT endpoints)
|
||||
};
|
||||
|
||||
function ReactSwagger({ spec }: Props) {
|
||||
return <SwaggerUI spec={spec} />;
|
||||
}
|
||||
|
||||
<<<<<<< HEAD
|
||||
export default ReactSwagger;
|
||||
=======
|
||||
export default ReactSwagger;
|
||||
>>>>>>> 57e420f (feat(api): add swagger docs, /api/user/me GET and PUT endpoints)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue