Home Applications openapi-suite-client

openapi-suite-client

InterSystems does not provide technical support for this project. Please contact its developer for the technical assistance.
5
1 reviews
0
Awards
221
Views
3
IPM installs
2
0
Details
Releases (1)
Reviews (1)
Issues
Articles (1)
This is a tiny HTTP client for openapi-suite.

What's new in this version

Initial Release

Gitter
Quality Gate Status
Reliability Rating

License: MIT

openapi-suite-client

Important : To make maintenance easier, this package has been merged with openapi-suite ( Link to GitHub repository ). Consider this package deprecated and replaced by openapi-suite (classes have kept the same name)

This is a tiny http client for openapi-suite.

It’s useful if you want to generate code from a remote openapi-suite installation and avoid install all code generation tools on your local instance.

Installation zpm

zpm "install openapi-suite-client"

Installation docker

Clone/git pull the repo into any local directory

git clone https://github.com/intersystems-community/openapi-suite-client.git

Open the terminal in this directory and call the command to build and run InterSystems IRIS in container:

docker-compose up -d

To open IRIS Terminal do:

docker-compose exec iris iris session iris -U IRISAPP

Usage

; remote openapi-suite rest service url : 
Set server = "https://openapisuite.demo.community.intersystems.com/openapisuite"

; Specification could be an URL, filepath or a stream. Set specification = "https://petstore3.swagger.io/api/v3/openapi.json"

; Package name for generated classes. Set packageName = "petstoreclient"

; available type : ; - "client" : to generate http client classes. ; - "production" : to generate production client classes. ; - "rest" : to generate REST server classes Set type = "client"

Set sc = ##class(dc.openapi.suite.client.RemoteCodeGen).Generate(specification, packageName, type, server)

More information about open-suite are available on this DC article.

Last checked by moderator
05 Mar, 2024Works
Made with
Install
zpm install openapi-suite-client download archive
Version
1.0.006 Feb, 2023
Ideas to the app
ObjectScript quality test
Category
Solutions
Works with
InterSystems IRIS
First published
06 Feb, 2023
Last edited
06 Feb, 2023