Closed aabedraba closed 1 year ago
Closing as non-issue:
$ cat api.yaml
openapi: 3.0.0
servers:
- url: http://localhost:8080
info:
title: simple-api
version: 0.1.0
description: A simple API example to test Kusk Gateway with
license:
name: MIT
url: https://github.com/kubeshop/kusk-gateway/blob/main/LICENSE
paths:
/hello:
x-kusk:
upstream:
service:
name: hello-world-svc
namespace: default
port: 8080
get:
summary: Returns a Hello world to the user
responses:
'200':
description: A simple hello world!
content:
application/json; charset=utf-8:
schema:
type: object
properties:
message:
type: string
required:
$ kusk deploy -i api.yaml
🎉 successfully parsed api.yaml
✅ initiallizing deployment to fleet kusk-gateway-envoy-fleet
api.gateway.kusk.io/simple-api created
When applying an OpenAPI definition of a path that contains an upstream configuration, Kusk CLI fails to parse:
Example
Command fail example: