feat(api): add swagger docs, /api/user/me GET and PUT endpoints
This commit is contained in:
parent
d42294fb0c
commit
47f08a9bf7
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';
|
import 'swagger-ui-react/swagger-ui.css';
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
|
<<<<<<< HEAD
|
||||||
spec: object;
|
spec: object;
|
||||||
|
=======
|
||||||
|
spec: object,
|
||||||
|
>>>>>>> 57e420f (feat(api): add swagger docs, /api/user/me GET and PUT endpoints)
|
||||||
};
|
};
|
||||||
|
|
||||||
function ReactSwagger({ spec }: Props) {
|
function ReactSwagger({ spec }: Props) {
|
||||||
return <SwaggerUI spec={spec} />;
|
return <SwaggerUI spec={spec} />;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
<<<<<<< HEAD
|
||||||
export default ReactSwagger;
|
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