Skip to content

Commit

Permalink
fix circular references
Browse files Browse the repository at this point in the history
  • Loading branch information
magicmatatjahu committed Mar 24, 2022
1 parent 0d9c347 commit cf00d5f
Show file tree
Hide file tree
Showing 5 changed files with 510 additions and 89 deletions.
14 changes: 11 additions & 3 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,8 @@ components:
which is usually located in the template's repository.
This field is optional but may be required for some templates.
additionalProperties: true
x-server-api:
skipFieldsInValidation: [asyncapi]
ValidateDocument:
type: object
required:
Expand All @@ -189,10 +191,16 @@ components:
items:
$ref: "#/components/schemas/AsyncAPIDocument"
base:
type: string
description: Base AsyncAPI document whose properties will be retained.
$ref: "#/components/schemas/AsyncAPIDocument"
x-server-api:
skipFieldsInValidation: [asyncapis, base]
Bundle:
type: [object,string]
type: object
required:
- bundled
properties:
bundled:
$ref: "#/components/schemas/AsyncAPIDocument"
Problem:
type: object
properties:
Expand Down
Loading

0 comments on commit cf00d5f

Please sign in to comment.