postmanlabs / postmanlabs/postman-code-generators

Ansible geturi language support

Open
#480 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

codegen new-language-support
Dominant language
JavaScript
Stars
1k
Forks
381
PR merge metrics
No merged PRs in 30d

Description

As a Postman user, I would like to generate Ansible task definitions using the Ansible geturi module to call the Postman defined api.

An example use case

A vendor releases a restAPI and associated openapi definition for a new piece of storage hardware. The vendor does not support Ansible. Many devops team utilise ansible as a minimum level of abstraction to hardware. The team could generate the python code using Postman and write an Ansible module but often that is overkill and they resort to stitching a few geturi tasks. The devops engineer in this scenario could use Postman to generate the Ansible tasks using the openapi definition.

Difficulty

Estimate this is rather straightforward given the output is basically yaml/ansible DSL which is pretty lightweight

Examples

Ansible geturi examples

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no repository files, tests, or entry points; start by reviewing the existing code generators and the linked Ansible geturi examples. Done means Postman can generate valid Ansible task definitions from an OpenAPI-defined API, using the requested geturi module.

Written by the indexing model from the issue text.

Assessment

Tech stack
ansible, javascript
Domain
devops, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.