Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Various OAS fixes #187

Merged
merged 2 commits into from
Jul 19, 2018
Merged
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
9 changes: 2 additions & 7 deletions resources/examples/Showtimes/compiled/1.0/openapi/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ paths:
$ref: '#/components/schemas/error'
x-mill-path-aliased: true
x-mill-path-template: /movie/+id
x-mill-visibility-private: true
/movies:
get:
summary: 'Get movies.'
Expand Down Expand Up @@ -83,7 +84,6 @@ paths:
schema:
$ref: '#/components/schemas/error'
x-mill-path-template: /movies
x-mill-visibility-private: true
post:
summary: 'Create a movie.'
description: 'Create a new movie.'
Expand Down Expand Up @@ -172,7 +172,6 @@ paths:
oauth2:
- create
x-mill-path-template: /movies
x-mill-visibility-private: true
'/movies/{id}':
get:
summary: 'Get a single movie.'
Expand Down Expand Up @@ -207,7 +206,6 @@ paths:
x-mill-path-aliases:
- '/movie/{id}'
x-mill-path-template: /movies/+id
x-mill-visibility-private: true
/theaters:
get:
summary: 'Get movie theaters.'
Expand Down Expand Up @@ -239,7 +237,6 @@ paths:
schema:
$ref: '#/components/schemas/error'
x-mill-path-template: /theaters
x-mill-visibility-private: true
post:
summary: 'Create a movie theater.'
description: 'Create a new movie theater.'
Expand Down Expand Up @@ -287,7 +284,6 @@ paths:
oauth2:
- create
x-mill-path-template: /theaters
x-mill-visibility-private: true
'/theaters/{id}':
get:
summary: 'Get a single movie theater.'
Expand Down Expand Up @@ -320,7 +316,6 @@ paths:
schema:
$ref: '#/components/schemas/error'
x-mill-path-template: /theaters/+id
x-mill-visibility-private: true
patch:
summary: 'Update a movie theater.'
description: 'Update a movie theaters'' data.'
Expand Down Expand Up @@ -389,7 +384,6 @@ paths:
oauth2:
- create
x-mill-path-template: /theaters/+id
x-mill-visibility-private: true
delete:
summary: 'Delete a movie theater.'
description: 'Delete a movie theater.'
Expand Down Expand Up @@ -419,6 +413,7 @@ paths:
oauth2:
- delete
x-mill-path-template: /theaters/+id
x-mill-visibility-private: true
components:
securitySchemes:
bearer:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ paths:
$ref: '#/components/schemas/error'
x-mill-path-aliased: true
x-mill-path-template: /movie/+id
x-mill-visibility-private: true
/movies:
get:
summary: 'Get movies.'
Expand Down Expand Up @@ -81,7 +82,6 @@ paths:
schema:
$ref: '#/components/schemas/error'
x-mill-path-template: /movies
x-mill-visibility-private: true
post:
summary: 'Create a movie.'
description: 'Create a new movie.'
Expand Down Expand Up @@ -170,7 +170,6 @@ paths:
oauth2:
- create
x-mill-path-template: /movies
x-mill-visibility-private: true
'/movies/{id}':
get:
summary: 'Get a single movie.'
Expand Down Expand Up @@ -205,7 +204,6 @@ paths:
x-mill-path-aliases:
- '/movie/{id}'
x-mill-path-template: /movies/+id
x-mill-visibility-private: true
components:
securitySchemes:
bearer:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ paths:
schema:
$ref: '#/components/schemas/error'
x-mill-path-template: /theaters
x-mill-visibility-private: true
post:
summary: 'Create a movie theater.'
description: 'Create a new movie theater.'
Expand Down Expand Up @@ -96,7 +95,6 @@ paths:
oauth2:
- create
x-mill-path-template: /theaters
x-mill-visibility-private: true
'/theaters/{id}':
get:
summary: 'Get a single movie theater.'
Expand Down Expand Up @@ -129,7 +127,6 @@ paths:
schema:
$ref: '#/components/schemas/error'
x-mill-path-template: /theaters/+id
x-mill-visibility-private: true
patch:
summary: 'Update a movie theater.'
description: 'Update a movie theaters'' data.'
Expand Down Expand Up @@ -198,7 +195,6 @@ paths:
oauth2:
- create
x-mill-path-template: /theaters/+id
x-mill-visibility-private: true
delete:
summary: 'Delete a movie theater.'
description: 'Delete a movie theater.'
Expand Down Expand Up @@ -228,6 +224,7 @@ paths:
oauth2:
- delete
x-mill-path-template: /theaters/+id
x-mill-visibility-private: true
components:
securitySchemes:
bearer:
Expand Down
11 changes: 3 additions & 8 deletions resources/examples/Showtimes/compiled/1.1.1/openapi/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ paths:
$ref: '#/components/schemas/error'
x-mill-path-aliased: true
x-mill-path-template: /movie/+id
x-mill-visibility-private: true
/movies:
get:
summary: 'Get movies.'
Expand Down Expand Up @@ -90,7 +91,6 @@ paths:
schema:
$ref: '#/components/schemas/error'
x-mill-path-template: /movies
x-mill-visibility-private: true
post:
summary: 'Create a movie.'
description: 'Create a new movie.'
Expand Down Expand Up @@ -188,7 +188,6 @@ paths:
oauth2:
- create
x-mill-path-template: /movies
x-mill-visibility-private: true
'/movies/{id}':
get:
summary: 'Get a single movie.'
Expand Down Expand Up @@ -223,7 +222,6 @@ paths:
x-mill-path-aliases:
- '/movie/{id}'
x-mill-path-template: /movies/+id
x-mill-visibility-private: true
patch:
summary: 'Update a movie.'
description: 'Update a movies data.'
Expand Down Expand Up @@ -336,7 +334,6 @@ paths:
oauth2:
- edit
x-mill-path-template: /movies/+id
x-mill-visibility-private: true
delete:
summary: 'Delete a movie.'
description: 'Delete a movie.'
Expand Down Expand Up @@ -368,6 +365,7 @@ paths:
x-mill-path-template: /movies/+id
x-mill-vendor-tags:
- 'tag:DELETE_CONTENT'
x-mill-visibility-private: true
/theaters:
get:
summary: 'Get movie theaters.'
Expand Down Expand Up @@ -399,7 +397,6 @@ paths:
schema:
$ref: '#/components/schemas/error'
x-mill-path-template: /theaters
x-mill-visibility-private: true
post:
summary: 'Create a movie theater.'
description: 'Create a new movie theater.'
Expand Down Expand Up @@ -447,7 +444,6 @@ paths:
oauth2:
- create
x-mill-path-template: /theaters
x-mill-visibility-private: true
'/theaters/{id}':
get:
summary: 'Get a single movie theater.'
Expand Down Expand Up @@ -480,7 +476,6 @@ paths:
schema:
$ref: '#/components/schemas/error'
x-mill-path-template: /theaters/+id
x-mill-visibility-private: true
patch:
summary: 'Update a movie theater.'
description: 'Update a movie theaters'' data.'
Expand Down Expand Up @@ -549,7 +544,6 @@ paths:
oauth2:
- create
x-mill-path-template: /theaters/+id
x-mill-visibility-private: true
delete:
summary: 'Delete a movie theater.'
description: 'Delete a movie theater.'
Expand Down Expand Up @@ -579,6 +573,7 @@ paths:
oauth2:
- delete
x-mill-path-template: /theaters/+id
x-mill-visibility-private: true
components:
securitySchemes:
bearer:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ paths:
$ref: '#/components/schemas/error'
x-mill-path-aliased: true
x-mill-path-template: /movie/+id
x-mill-visibility-private: true
/movies:
get:
summary: 'Get movies.'
Expand Down Expand Up @@ -88,7 +89,6 @@ paths:
schema:
$ref: '#/components/schemas/error'
x-mill-path-template: /movies
x-mill-visibility-private: true
post:
summary: 'Create a movie.'
description: 'Create a new movie.'
Expand Down Expand Up @@ -186,7 +186,6 @@ paths:
oauth2:
- create
x-mill-path-template: /movies
x-mill-visibility-private: true
'/movies/{id}':
get:
summary: 'Get a single movie.'
Expand Down Expand Up @@ -221,7 +220,6 @@ paths:
x-mill-path-aliases:
- '/movie/{id}'
x-mill-path-template: /movies/+id
x-mill-visibility-private: true
patch:
summary: 'Update a movie.'
description: 'Update a movies data.'
Expand Down Expand Up @@ -334,7 +332,6 @@ paths:
oauth2:
- edit
x-mill-path-template: /movies/+id
x-mill-visibility-private: true
delete:
summary: 'Delete a movie.'
description: 'Delete a movie.'
Expand Down Expand Up @@ -366,6 +363,7 @@ paths:
x-mill-path-template: /movies/+id
x-mill-vendor-tags:
- 'tag:DELETE_CONTENT'
x-mill-visibility-private: true
components:
securitySchemes:
bearer:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ paths:
schema:
$ref: '#/components/schemas/error'
x-mill-path-template: /theaters
x-mill-visibility-private: true
post:
summary: 'Create a movie theater.'
description: 'Create a new movie theater.'
Expand Down Expand Up @@ -96,7 +95,6 @@ paths:
oauth2:
- create
x-mill-path-template: /theaters
x-mill-visibility-private: true
'/theaters/{id}':
get:
summary: 'Get a single movie theater.'
Expand Down Expand Up @@ -129,7 +127,6 @@ paths:
schema:
$ref: '#/components/schemas/error'
x-mill-path-template: /theaters/+id
x-mill-visibility-private: true
patch:
summary: 'Update a movie theater.'
description: 'Update a movie theaters'' data.'
Expand Down Expand Up @@ -198,7 +195,6 @@ paths:
oauth2:
- create
x-mill-path-template: /theaters/+id
x-mill-visibility-private: true
delete:
summary: 'Delete a movie theater.'
description: 'Delete a movie theater.'
Expand Down Expand Up @@ -228,6 +224,7 @@ paths:
oauth2:
- delete
x-mill-path-template: /theaters/+id
x-mill-visibility-private: true
components:
securitySchemes:
bearer:
Expand Down
Loading