Kong / Kong/deck

openapi2kong does not generate configs for openapi specs containing external references

Open
#1,546 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
503
Forks
137
Avg merge
3d 5h
Merged PRs (30d)
20

Description

I believe the `deck file openapi2kong --inso-compatible` command has been introduced as the replacement of `inso generate` command.

But, unlike inso, deck does not generate configs for openapi specs containing external references.

Hence, we have to rely on separate tools like **openapi-generator-cli** to create a new openapi spec with all the external references bundled in it.

Please fix this issue.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the `deck file openapi2kong --inso-compatible` command and compare its handling of external references with the `inso generate` behavior described in the issue. Reproduce the case using an OpenAPI spec with external references; done means the command generates Kong configs without requiring `openapi-generator-cli` to bundle the specification first.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, openapi
Domain
api, backend-api-design
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.