GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - MicroShed/mp-rest-client-generator-vscode-ext: VS Code extension to generate a MicroProfile Rest Client interface using OpenAPITools

BranchesTags
Open more actions menu

Latest commit

 

History

52 Commits
52 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
.vscode
.vscode
 
 
images
images
 
 
src
src
 
 
.eslintrc
.eslintrc
 
 
.gitignore
.gitignore
 
 
.prettierrc
.prettierrc
 
 
.travis.yml
.travis.yml
 
 
.vscodeignore
.vscodeignore
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
openapitools.json
openapitools.json
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
tsconfig.json
tsconfig.json
 
 

Repository files navigation

Generator for MicroProfile Rest Client

Marketplace Version License

The Generator for MicroProfile Rest Client extension provides support for generating a MicroProfile REST Client interface template from an OpenAPI document in Visual Studio Code. This extension calls the openapi-generator to generate models and apis folders. The code for this extension is hosted under the MicroShed organization on GitHub. Learn more about MicroProfile Rest Client on GitHub.

Open Liberty Tools Extension

Quick Start

  • Install the extension
  • Launch the VS Code command palette (View -> Command Palette...), then select MicroProfile: Generate a MicroProfile REST Client to run the extension

Input

The extension prompts for the following parameters:

  1. Path or url to an OpenAPI document
  2. src directory of project to generate into
  3. Package name
  4. MicroProfile Rest client version

The extension will generate models and apis folders into the specified directory. The package name will be auto-filled based on the directory generated into.

Contributing

Contributions to the Generator for MicroProfile Rest Client extension are welcome!

Our CONTRIBUTING document contains details for submitting pull requests.

To build and run the extension locally:

  1. Fork this repository

  2. Clone your fork: git clone [email protected]:{your-username}/mp-rest-client-generator-vscode-ext.git

  3. cd mp-rest-client-generator-vscode-ext

  4. Create a branch for the issue you are going to work on: git checkout -b branch-name-for-your-issue

  5. Install dependencies: npm install and npx openapi-generator-cli version

  6. Run the extension in VS Code by selecting Run Extension from the debug panel or by pressing F5

    Alternatively, build a .vsix file:

    • Run vsce package to generate the mp-rest-client-generator-vscode-ext-xxx.vsix file
    • Install the extension to VS Code by View/Command Palette
    • Select Extensions: Install from VSIX... and choose the generated mp-rest-client-generator-vscode-ext-xxx.vsix file
  7. Generate a REST client by right-clicking on a folder and selecting "Generate a MicroProfile REST Client", or via the command palette by selecting "MicroProfile: Generate a MicroProfile REST Client"

Issues

Please report bugs, issues and feature requests by creating a GitHub issue.

MicroProfile® and the MicroProfile logo are trademarks of the Eclipse Foundation.

About

VS Code extension to generate a MicroProfile Rest Client interface using OpenAPITools

marketplace.visualstudio.com/items?itemName=MicroProfile-Community.mp-rest-client-generator-vscode-ext

Topics

microprofilevscode-extension

Resources

Readme
EPL-2.0 license

Contributing

Contributing
Activity
Custom properties

Stars

5 stars

Watchers

6 watching

Forks

5 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.