Skip to content

Commit

Permalink
chore(cli): document compatibility to be Kong 3.x (#1055)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tieske authored Oct 18, 2023
1 parent 4e42010 commit 30f19db
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cmd/file_openapi2kong.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@ func newOpenapi2KongCmd() *cobra.Command {
The example file at https://github.com/Kong/go-apiops/blob/main/docs/learnservice_oas.yaml
has extensive annotations explaining the conversion process, as well as all supported
custom annotations (x-kong-... directives).`,
custom annotations (x-kong-... directives).
The output will be targeted at Kong version 3.x.
`,
RunE: executeOpenapi2Kong,
Example: "# Convert an OAS file, adding 2 tags, and namespacing the UUIDs to a unique name\n" +
"cat service_oas.yml | deck file openapi2kong --select-tag=serviceA,teamB --uuid-base=unique-service-name",
Expand Down

0 comments on commit 30f19db

Please sign in to comment.