Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ demo/models/flattened/*.json
!demo/models/jldAsync26.json
!demo/models/avro.json
!demo/models/avro2.json
!demo/models/grpc-test.json
!demo/models/grpc-test-compact.json

.idea/
.sfdx
Expand Down
2,239 changes: 2,239 additions & 0 deletions acb.json

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion demo/apis.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,7 @@
"models/multipart-api/multipart-api.raml": "RAML 1.0",
"models/multiple-messages/multiple-messages.yaml": "ASYNC 2.0",
"models/APIC-560/APIC-560.yaml": "ASYNC 2.0",
"models/agens-api/agents-api.yaml": "OAS 3.0"
"models/agens-api/agents-api.yaml": "OAS 3.0",
"models/union-error/union.raml": "RAML 1.0",
"models/tags-flights/tags-flights.yml": "OAS 3.0"
}
4,490 changes: 4,490 additions & 0 deletions demo/models/grpc-test-compact.json

Large diffs are not rendered by default.

4,490 changes: 4,490 additions & 0 deletions demo/models/grpc-test.json

Large diffs are not rendered by default.

42 changes: 42 additions & 0 deletions demo/models/tags-flights/tags-flights.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
openapi: 3.0.3
info:
title: Flights API
version: v1
tags:
- name: AllFlights
description: Operations related to all flights
- name: OneFlight
description: Operations related to a single flight
paths:
/flights:
get:
tags:
- AllFlights
summary: List all flights
operationId: getAllFlights
responses:
'200':
description: Successful response
post:
tags:
- AllFlights
summary: Create a new flight
operationId: createFlight
responses:
'201':
description: Flight created
/flights/{ID}:
get:
tags:
- OneFlight
summary: Get a single flight by ID
operationId: getOneFlight
parameters:
- name: ID
in: path
required: true
schema:
type: string
responses:
'200':
description: Successful response
9 changes: 9 additions & 0 deletions demo/models/union-error/lib.raml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#%RAML 1.0 Library

types:
userItem:
type: object
properties:
userId: string
email: string

15 changes: 15 additions & 0 deletions demo/models/union-error/union.raml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#%RAML 1.0 DataType

uses:
lib: lib.raml

type: object

properties:
users_direct_array:
# This property is a simple array
type: lib.userItem[]
users_union_array:
# This property is an array OR null
type: lib.userItem[] | nil

1 change: 1 addition & 0 deletions demo/standalone/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ class ApicApplication extends DemoBase {
constructor() {
super();
this.apis = [
['union', 'Union error'],
['google-drive-api', 'Google Drive API'],
['httpbin', 'HTTPbin API'],
['oAuth2', 'oAuth2'],
Expand Down
1 change: 1 addition & 0 deletions demo/themed/anypoint.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ class ApicApplication extends DemoBase {
constructor() {
super();
this.apis = [
['grpc-test', 'GRPC Test'],
['google-drive-api', 'Google Drive API'],
['httpbin', 'HTTPbin API'],
['data-type-fragment', 'RAML data type fragment'],
Expand Down
7,378 changes: 7,378 additions & 0 deletions local.json

Large diffs are not rendered by default.

Loading
Loading