File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -9,9 +9,9 @@ import {API, APICategory} from 'src/build/resolveOpenAPI';
99// import {resolveRemoteApiSpec} from 'src/build/shared';
1010import SwaggerUI , { SwaggerUIProps } from 'swagger-ui-react' ;
1111
12+ import { LOCAL_API_SPEC } from './localApiSpec' ;
1213import { HTTPSnippetGenerators } from './plugins' ;
1314import { getSnippetConfig } from './settings' ;
14- import { LOCAL_API_SPEC } from './localApiSpec' ;
1515
1616type OpenApiSpec = OpenAPIV3_1 . Document ;
1717
@@ -78,7 +78,7 @@ export function ApiDocs({api}: Props) {
7878 const [ apiSpec , setApiSpec ] = useState < OpenApiSpec | null > ( null ) ;
7979
8080 useEffect ( ( ) => {
81- const fetchApiSpec = ( ) => {
81+ const fetchApiSpec = ( ) => {
8282 // this is temporary, for demo purposed
8383 const spec = LOCAL_API_SPEC as any as OpenApiSpec ;
8484 // const spec = (await resolveRemoteApiSpec()) as any as OpenApiSpec;
You can’t perform that action at this time.
0 commit comments