![]() ![]() To customize code generation options, such as package names, use the Export > Codegen Options menu in the SwaggerHub editor. See here for a list of supported languages and frameworks. ![]() Select what you want to generate: server code, client SDK, API documentation, or the OpenAPI definition itself as YAML or JSON. If this branch does not exist, it will be created based on the repository’s default branch. The repository branch to push the code to. Use this method if the output folder contains existing files that you want to keep.īranch – Required. Similar to Basic Sync, but you can specify which files will be overwritten or ignored. To use a different branch, select Advanced Sync or upgrade your SwaggerHub On-Premise instance to the latest version. ![]() Note: In SwaggerHub On-Premise versions up to 1.23.1, Basic Sync always pushes to the branch named SWAGGERHUB. SwaggerHub will manage all files in the specified branch and folder: new files will be added, existing files will be overwritten, and unused files will be deleted. ![]() Sync Method – Select the synchronization type: Sync method It must contain at least one commit, for example, a README or. Repository – Select the repository to push the code to. Project – Select the team project that contains the target Git repository. The token must have the Code (read and write) scope. Personal Access Token – The access token that you generated earlier. See Configuring Azure DevOps Integrations. 1.20.0, you can set the default Azure DevOps organization for integration in the SwaggerHub system configuration. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |