Skip to content

Commit

Permalink
updates mistake in name per review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitropoulos committed May 19, 2021
1 parent c0df4df commit bb4adb6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/openapi-2-kong/src/types/outputs.ts
Expand Up @@ -3,7 +3,7 @@ import { K8sManifest } from './kubernetes-config';

export type ConversionResultType = 'kong-declarative-config' | 'kong-for-kubernetes';

export interface Warnings {
export interface Warning {
severity: number;
message: string;
range: {};
Expand All @@ -13,14 +13,14 @@ export interface DeclarativeConfigResult {
type: 'kong-declarative-config';
label: string;
documents: DeclarativeConfig[];
warnings: Warnings[];
warnings: Warning[];
}

export interface KongForKubernetesResult {
type: 'kong-for-kubernetes';
label: string;
documents: K8sManifest[];
warnings: Warnings[];
warnings: Warning[];
}

export type ConversionResult = DeclarativeConfigResult | KongForKubernetesResult;

0 comments on commit bb4adb6

Please sign in to comment.