신난다.로컬에서 실행중인 비웃어 편집기가 빈 페이지를 표시합니다.
나는 django-rest-framework에서 API를 만들었습니다. 나는 그들을 문서화하고 싶다. 그러므로 배척에 대해 읽으십시오.
django-rest-swagger를 시도했지만 문서가 부족하여 문서 작성에 적합하지 않습니다. 따라서 처음부터 API 구조를 설계 할 수있는 훌륭한 편집기를 시도하고 있습니다. 로컬로 설치했지만 "127.0.0.1:9000"에 빈 페이지가 표시됩니다. 지금 어떻게해야합니까?
로컬로 설치된 swagger-editor에서 사용할 YAML 또는 JSON 파일을 작성하고 싶습니다. 이것을 어떻게 할 수 있습니까? 내가 127.0.0.1:9000
Warn: could not find module util
http://127.0.0.1:9000/bower_components/angular-schema-form/dist/schema-form.js Failed to load resource: the server responded with a status of 404 (Not Found)
angular.js:80 Uncaught Error: [$injector:nomod] Module 'schemaForm' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
http://errors.angularjs.org/1.3.2/$injector/nomod?p0=schemaForm
angular.js:80 Uncaught Error: [$injector:modulerr] Failed to instantiate module PhonicsApp due to:
Error: [$injector:modulerr] Failed to instantiate module schemaForm due to:
Error: [$injector:nomod] Module 'schemaForm' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
몇 가지 의견 : 스와지나 에디터는 YAML/JSON을 소비하지 않으며 제작합니다. 또한 편집기에 문제가있는 경우 저장소에서 직접 문제를 열어 보는 것이 좋습니다. 마지막으로 http://editor.swagger.io에서 온라인 편집기를 사용할 수 있습니다. – Ron
예, 온라인 편집기는 솔루션이지만 제 3 자에게 공개해야하기 때문에 스테이징 서버에서 문서를 작성할 수있는 방법이 있습니다 .. 제안 사항은 무엇입니까? – Pranav
편집기를 로컬로 사용하는 경우에도 JSON을 내보내고 어딘가에 호스트해야하므로이 둘은 관련이 없습니다. – Ron