Cloud Code를 사용하여 로컬 환경에서 Apigee API 및 API 프록시를 개발하고 테스트할 수 있습니다. Cloud Code는 Apigee 에뮬레이터(로컬 런타임)를 사용하여 단위 및 수동 테스트를 통해 기능을 확인하는 것을 비롯해 Apigee API 개발, 테스트 및 배포를 Visual Studio Code (VS Code) IDE에 통합하는 확장 프로그램입니다.
로컬 개발 중에 Cloud Code에서 Apigee를 사용하여 API 프록시를 개발하고 Apigee 에뮬레이터(로컬 런타임)를 사용한 단위 및 수동 테스트를 통해 기능을 확인합니다.
보관 파일 배포 중에 전체 환경 및 API 프록시 구성이 포함된 보관 파일을 활용하여 통합 테스트 및 출시를 위해 Apigee에 배포합니다.
Apigee는 Gemini Code Assist를 사용하여 Cloud Code에서 다음과 같은 API 설계 및 관리를 위한 API 보조 기능을 포함할 수 있습니다.
Gemini Code Assist의 @Apigee 도구를 사용하여 API를 설명하는 프롬프트에서 OpenAPI 사양(OAS), 버전 3.0 사양을 생성합니다. 사양 개발에는 Apigee API 허브 엔터프라이즈 컨텍스트의 컨텍스트 정보가 포함되어 사양 개발에 정보를 제공할 수 있습니다.
Gemini Code Assist는 사양을 생성할 때 엔터프라이즈 API 허브 카탈로그를 사용합니다.
생성된 사양을 보고 수정합니다.
모의 서버로 API를 테스트합니다. 로컬 개발 환경에서 테스트하려면 로컬 모의 서버를 사용하세요. 여러 동시 개발자가 API를 테스트할 수 있는 영구 테스트 서비스를 위한 원격 모의 서버를 만듭니다.
엔터프라이즈 API 허브 카탈로그에 API를 추가합니다.
Gemini Code Assist에서 @Apigee 도구를 호출하여 프롬프트를 사용해 기존 OpenAPI 사양 수정
로컬 개발을 지원하려면 Apigee 조직 환경에 보관 파일 배포를 사용 설정해야 합니다.
Apigee 환경에서 보관 파일 배포를 사용 설정하면 로컬 개발과의 충돌을 방지하기 위해 환경에서 특정 작업이 수행되지 않습니다. 자세한 내용은 보관 파일 배포를 통해 차단된 작업 요약을 참조하세요.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-07-29(UTC)"],[[["\u003cp\u003eThis content outlines the local development capabilities for Apigee and Apigee hybrid using Cloud Code, enabling developers to build, test, and deploy APIs within the Visual Studio Code IDE.\u003c/p\u003e\n"],["\u003cp\u003eLocal development with Apigee allows for rapid iteration, unit testing, and streamlined change tracking, improving the development process without affecting dependent applications.\u003c/p\u003e\n"],["\u003cp\u003eArchive deployment to Apigee is available for integration testing and release, with a caveat that enabling archive deployment restricts certain actions in the environment to prevent conflicts with local development.\u003c/p\u003e\n"],["\u003cp\u003eGemini Code Assist is in preview for Apigee API management, offering features like generating OpenAPI specifications from prompts and integrating with the Apigee API hub, streamlining API design and development.\u003c/p\u003e\n"],["\u003cp\u003eThe usage of features marked as "preview" are subject to the pre-GA offerings terms and have limited support.\u003c/p\u003e\n"]]],[],null,["# Overview of local development with Apigee\n\n*This page\napplies to **Apigee** and **Apigee hybrid**.*\n\n\n*View [Apigee Edge](https://docs.apigee.com/api-platform/get-started/what-apigee-edge) documentation.*\n\nYou can develop and test your Apigee APIs and API proxies in a local environment using\nCloud Code. Cloud Code is an extension that integrates your Apigee API\ndevelopment, testing, and deployment into the\n[Visual Studio Code (VS Code) IDE](https://code.visualstudio.com/),\nincluding verifying the functionality through unit and manual testing using the Apigee Emulator\n(local runtime).\n\nDuring **local development**, use Apigee in Cloud Code to develop your API proxies and verify the functionality\nthrough unit and manual testing using the Apigee Emulator (local runtime).\n\nDuring **archive deployment**, deploy to Apigee for integration testing and release, leveraging an archive that contains the complete environment and API proxy configuration.\n|\n| **Preview\n| --- Archive deployment**\n|\n|\n| This feature is subject to the \"Pre-GA Offerings Terms\" in the General Service Terms section\n| of the [Service Specific Terms](/terms/service-terms#1).\n|\n| Pre-GA features are available \"as is\" and might have limited support.\n|\n| For more information, see the\n| [launch stage descriptions](/products#product-launch-stages).\n\nBenefits of local development with Apigee\n-----------------------------------------\n\nThe benefits of local development with Apigee include:\n\n- [Use Gemini Code Assist](#gemini-apigee-local-dev) for faster API design, development, and management.\n- Quickly iterate through build and test cycles without impact to other dependent applications\n- Create and run repeatable unit tests that verify that the code is producing the intended outcome\n- Identify the set of changes that are deployed as part of a release\n- Track who made changes to a specific deployment\n\nGemini Code Assist for Apigee API management\n--------------------------------------------\n\nApigee can include API assistive functionality for API design and\nmanagement in Cloud Code, with [Gemini Code Assist](/apigee/docs/api-platform/get-started/gemini-code-assist), including:\n\n- Using the @Apigee tool in Gemini Code Assist, generate [OpenAPI specification (OAS), version 3.0](https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md) specs from prompts describing the APIs. Spec development can include contextual information from your Apigee API hub enterprise context to inform spec development.\n- Gemini Code Assist uses your enterprise API hub catalog when generating specifications.\n- View and edit the generated spec.\n- Test the API with mock servers. Use a local mock server for testing in your local development environment. Create a remote mock server for a persistent test service that allows multiple simultaneous developers to test the API.\n- Add APIs to your enterprise API hub catalog.\n- Edit existing OpenAPI specs using prompts by invoking the @Apigee tool in Gemini Code Assist\n- Create an Apigee API proxy from your spec in the local development environment.\n\nTo use this functionality, you must set up Gemini Code Assist for Apigee.\nSee\n[Use Gemini Code Assist with\nCloud Code and Apigee](/apigee/docs/api-platform/local-development/setup#gemini).\n\nPrevented actions with archive deployment\n-----------------------------------------\n\nTo support local development, you must [enable archive deployment](/apigee/docs/api-platform/deploy/manage-archive-deployments#enable-archive-deployment) for an environment in your Apigee organization.\nWhen you enable archive deployment in an Apigee environment, you will be **prevented from performing\ncertain actions within the environment** to prevent conflicts with local development. For complete details, see [Summary of prevented actions with archive deployment](/apigee/docs/api-platform/fundamentals/environments-overview#archive-prevented-actions)."]]