├── images ├── errors.gif ├── auto-mock.gif ├── close-icon.png ├── delete-api.png ├── full-star.png ├── open-file.gif ├── plus-icon.png ├── new-version.gif ├── refresh-api.png ├── refresh-icon.png ├── change-default.gif ├── change-status.png ├── filter-on-type.gif ├── new-definition.gif ├── peek-definition.gif ├── preview-button.png ├── swagger-ui-icon.png ├── go-to-definition.gif └── swaggerhub-logo-small-icon.png ├── README.md └── .github └── workflows └── codeql.yml /images/errors.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartBear/vscode-swaggerhub-release/HEAD/images/errors.gif -------------------------------------------------------------------------------- /images/auto-mock.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartBear/vscode-swaggerhub-release/HEAD/images/auto-mock.gif -------------------------------------------------------------------------------- /images/close-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartBear/vscode-swaggerhub-release/HEAD/images/close-icon.png -------------------------------------------------------------------------------- /images/delete-api.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartBear/vscode-swaggerhub-release/HEAD/images/delete-api.png -------------------------------------------------------------------------------- /images/full-star.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartBear/vscode-swaggerhub-release/HEAD/images/full-star.png -------------------------------------------------------------------------------- /images/open-file.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartBear/vscode-swaggerhub-release/HEAD/images/open-file.gif -------------------------------------------------------------------------------- /images/plus-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartBear/vscode-swaggerhub-release/HEAD/images/plus-icon.png -------------------------------------------------------------------------------- /images/new-version.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartBear/vscode-swaggerhub-release/HEAD/images/new-version.gif -------------------------------------------------------------------------------- /images/refresh-api.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartBear/vscode-swaggerhub-release/HEAD/images/refresh-api.png -------------------------------------------------------------------------------- /images/refresh-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartBear/vscode-swaggerhub-release/HEAD/images/refresh-icon.png -------------------------------------------------------------------------------- /images/change-default.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartBear/vscode-swaggerhub-release/HEAD/images/change-default.gif -------------------------------------------------------------------------------- /images/change-status.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartBear/vscode-swaggerhub-release/HEAD/images/change-status.png -------------------------------------------------------------------------------- /images/filter-on-type.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartBear/vscode-swaggerhub-release/HEAD/images/filter-on-type.gif -------------------------------------------------------------------------------- /images/new-definition.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartBear/vscode-swaggerhub-release/HEAD/images/new-definition.gif -------------------------------------------------------------------------------- /images/peek-definition.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartBear/vscode-swaggerhub-release/HEAD/images/peek-definition.gif -------------------------------------------------------------------------------- /images/preview-button.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartBear/vscode-swaggerhub-release/HEAD/images/preview-button.png -------------------------------------------------------------------------------- /images/swagger-ui-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartBear/vscode-swaggerhub-release/HEAD/images/swagger-ui-icon.png -------------------------------------------------------------------------------- /images/go-to-definition.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartBear/vscode-swaggerhub-release/HEAD/images/go-to-definition.gif -------------------------------------------------------------------------------- /images/swaggerhub-logo-small-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SmartBear/vscode-swaggerhub-release/HEAD/images/swaggerhub-logo-small-icon.png -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # SwaggerHub for VS Code: Issue Tracker 2 | 3 | [SwaggerHub extension for VS Code](https://marketplace.visualstudio.com/items?itemName=SmartBearSoftware.vscode-swaggerhub) lets you view and edit OpenAPI definitions stored in [SwaggerHub](https://swagger.io/tools/swaggerhub/) directly from VS Code. 4 | 5 | In this repository, you can: 6 | 7 | :grey_question: Ask questions about the extension 8 | :bug: Report bugs 9 | :bulb: Suggest new features or enhancements 10 | :+1: Upvote existing requests 11 | :memo: Submit general feedback 12 | 13 | Please search existing issues before opening a new one. 14 | 15 | ## Resources 16 | 17 | * [SwaggerHub documentation](https://app.swaggerhub.com/help/index): Learn more about SwaggerHub 18 | * [OpenAPI syntax guide](https://swagger.io/docs/specification/basic-structure/): Learn how to write OpenAPI definitions 19 | 20 | If you need help with SwaggerHub itself (not the VS Code extension), [contact Support](https://support.smartbear.com/message?product=SwaggerHub). 21 | -------------------------------------------------------------------------------- /.github/workflows/codeql.yml: -------------------------------------------------------------------------------- 1 | # For most projects, this workflow file will not need changing; you simply need 2 | # to commit it to your repository. 3 | # 4 | # You may wish to alter this file to override the set of languages analyzed, 5 | # or to provide custom queries or build logic. 6 | # 7 | # ******** NOTE ******** 8 | # We have attempted to detect the languages in your repository. Please check 9 | # the `language` matrix defined below to confirm you have the correct set of 10 | # supported CodeQL languages. 11 | # 12 | name: "CodeQL" 13 | 14 | on: 15 | push: 16 | branches: [ "main" ] 17 | pull_request: 18 | branches: [ "main" ] 19 | schedule: 20 | - cron: '36 11 * * 4' 21 | 22 | jobs: 23 | analyze: 24 | name: Analyze (${{ matrix.language }}) 25 | # Runner size impacts CodeQL analysis time. To learn more, please see: 26 | # - https://gh.io/recommended-hardware-resources-for-running-codeql 27 | # - https://gh.io/supported-runners-and-hardware-resources 28 | # - https://gh.io/using-larger-runners (GitHub.com only) 29 | # Consider using larger runners or machines with greater resources for possible analysis time improvements. 30 | runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }} 31 | timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }} 32 | permissions: 33 | # required for all workflows 34 | security-events: write 35 | 36 | # required to fetch internal or private CodeQL packs 37 | packages: read 38 | 39 | # only required for workflows in private repositories 40 | actions: read 41 | contents: read 42 | 43 | strategy: 44 | fail-fast: false 45 | matrix: 46 | include: 47 | # CodeQL supports the following values keywords for 'language': 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift' 48 | # Use `c-cpp` to analyze code written in C, C++ or both 49 | # Use 'java-kotlin' to analyze code written in Java, Kotlin or both 50 | # Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both 51 | # To learn more about changing the languages that are analyzed or customizing the build mode for your analysis, 52 | # see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning. 53 | # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how 54 | # your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages 55 | steps: 56 | - name: Checkout repository 57 | uses: actions/checkout@v4 58 | 59 | # Initializes the CodeQL tools for scanning. 60 | - name: Initialize CodeQL 61 | uses: github/codeql-action/init@v3 62 | with: 63 | languages: ${{ matrix.language }} 64 | build-mode: ${{ matrix.build-mode }} 65 | # If you wish to specify custom queries, you can do so here or in a config file. 66 | # By default, queries listed here will override any specified in a config file. 67 | # Prefix the list here with "+" to use these queries and those in the config file. 68 | 69 | # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs 70 | # queries: security-extended,security-and-quality 71 | 72 | # If the analyze step fails for one of the languages you are analyzing with 73 | # "We were unable to automatically build your code", modify the matrix above 74 | # to set the build mode to "manual" for that language. Then modify this step 75 | # to build your code. 76 | # ℹ️ Command-line programs to run using the OS shell. 77 | # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun 78 | - if: matrix.build-mode == 'manual' 79 | shell: bash 80 | run: | 81 | echo 'If you are using a "manual" build mode for one or more of the' \ 82 | 'languages you are analyzing, replace this with the commands to build' \ 83 | 'your code, for example:' 84 | echo ' make bootstrap' 85 | echo ' make release' 86 | exit 1 87 | 88 | - name: Perform CodeQL Analysis 89 | uses: github/codeql-action/analyze@v3 90 | with: 91 | category: "/language:${{matrix.language}}" 92 | --------------------------------------------------------------------------------