Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Downgrade to Openapi v3.0.3 for better tooling support #263

Merged
merged 2 commits into from
Jul 5, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
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: 1 addition & 1 deletion v5-rc/paths/AcademicSessionCollection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ get:
- -academicSessionId
- -name
- -startDate
default: startDate
default: [ startDate ]
responses:
'200':
description: OK
Expand Down
2 changes: 1 addition & 1 deletion v5-rc/paths/AcademicSessionOfferingCollection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ get:
- -name
- -startDate
- -endDate
default: startDate
default: [ startDate ]
responses:
'200':
description: OK
Expand Down
2 changes: 1 addition & 1 deletion v5-rc/paths/BuildingCollection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ get:
- name
- -buildingId
- -name
default: name
default: [ name ]
responses:
'200':
description: OK
Expand Down
2 changes: 1 addition & 1 deletion v5-rc/paths/BuildingRoomCollection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ get:
- -name
- -totalSeats
- -availableSeats
default: name
default: [ name ]
responses:
'200':
description: OK
Expand Down
2 changes: 1 addition & 1 deletion v5-rc/paths/ComponentOfferingCollection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ get:
- -name
- -startDateTime
- -endDateTime
default: startDateTime
default: [ startDateTime ]
responses:
'200':
description: OK
Expand Down
2 changes: 1 addition & 1 deletion v5-rc/paths/CourseCollection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ get:
- name
- -courseId
- -name
default: name
default: [ name ]
responses:
'200':
description: OK
Expand Down
2 changes: 1 addition & 1 deletion v5-rc/paths/CourseComponentCollection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ get:
- name
- -componentId
- -name
default: componentId
default: [ componentId ]
responses:
'200':
description: OK
Expand Down
2 changes: 1 addition & 1 deletion v5-rc/paths/CourseOfferingCollection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ get:
- -name
- -startDate
- -endDate
default: startDate
default: [ startDate ]
responses:
'200':
description: OK
Expand Down
2 changes: 1 addition & 1 deletion v5-rc/paths/EducationSpecificationCollection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ get:
- -name
- -primarycode
default:
- name
- [ name ]
responses:
'200':
description: OK
Expand Down
2 changes: 1 addition & 1 deletion v5-rc/paths/EducationSpecificationCourseCollection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ get:
- name
- -courseId
- -name
default: courseId
default: [ courseId ]
responses:
'200':
description: OK
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ get:
- -educationSpecificationId
- -name
- -educationSpecificationType
default: educationSpecificationId
default: [ educationSpecificationId ]
responses:
'200':
description: OK
Expand Down
2 changes: 1 addition & 1 deletion v5-rc/paths/EducationSpecificationProgramCollection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ get:
- name
- -programId
- -name
default: name
default: [ name ]
responses:
'200':
description: OK
Expand Down
2 changes: 1 addition & 1 deletion v5-rc/paths/GroupCollection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ get:
- -groupId
- -name
- -startDate
default: name
default: [ name ]
responses:
'200':
description: OK
Expand Down
2 changes: 1 addition & 1 deletion v5-rc/paths/GroupPersonCollection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ get:
- -givenName
- -surName
- -displayName
default: personId
default: [ personId ]
responses:
'200':
description: OK
Expand Down
2 changes: 1 addition & 1 deletion v5-rc/paths/NewsFeedCollection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ get:
- name
- -newsFeedId
- -name
default: name
default: [ name ]
responses:
'200':
description: OK
Expand Down
2 changes: 1 addition & 1 deletion v5-rc/paths/NewsFeedItemCollection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ get:
- -validFrom
- -validUntil
- -lastModified
default: newsItemId
default: [ newsItemId ]
responses:
'200':
description: OK
Expand Down
2 changes: 1 addition & 1 deletion v5-rc/paths/OfferingGroupCollection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ get:
- -groupId
- -name
- -startDate
default: name
default: [ name ]
responses:
'200':
description: OK
Expand Down
2 changes: 1 addition & 1 deletion v5-rc/paths/OrganizationCollection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ get:
- name
- -organizationId
- -name
default: name
default: [ name ]
responses:
'200':
description: OK
Expand Down
2 changes: 1 addition & 1 deletion v5-rc/paths/OrganizationComponentCollection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ get:
- name
- -componentId
- -name
default: name
default: [ name ]
responses:
'200':
description: OK
Expand Down
2 changes: 1 addition & 1 deletion v5-rc/paths/OrganizationCourseCollection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ get:
- name
- -courseId
- -name
default: name
default: [ name ]
responses:
'200':
description: OK
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ get:
- -educationSpecificationType
- -name
- -primarycode
default: name
default: [ name ]
responses:
'200':
description: OK
Expand Down
2 changes: 1 addition & 1 deletion v5-rc/paths/OrganizationGroupCollection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ get:
- -groupId
- -name
- -startDate
default: name
default: [ name ]
responses:
'200':
description: OK
Expand Down
2 changes: 1 addition & 1 deletion v5-rc/paths/OrganizationOfferingCollection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ get:
- -name
- -startDate
- -endDate
default: startDate
default: [ startDate ]
responses:
'200':
description: OK
Expand Down
2 changes: 1 addition & 1 deletion v5-rc/paths/OrganizationProgramCollection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ get:
- name
- -programId
- -name
default: name
default: [ name ]
responses:
'200':
description: OK
Expand Down
2 changes: 1 addition & 1 deletion v5-rc/paths/PersonAssociationCollection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ get:
enum:
- associationId
- -associationId
default: associationId
default: [ associationId ]
responses:
'200':
description: OK
Expand Down
2 changes: 1 addition & 1 deletion v5-rc/paths/PersonCollection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ get:
- -givenName
- -surName
- -displayName
default: personId
default: [ personId ]
responses:
'200':
description: OK
Expand Down
2 changes: 1 addition & 1 deletion v5-rc/paths/PersonGroupCollection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ get:
- -groupId
- -name
- -startDate
default: name
default: [ name ]
responses:
'200':
description: OK
Expand Down
2 changes: 1 addition & 1 deletion v5-rc/paths/ProgramCollection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ get:
- name
- -programId
- -name
default: name
default: [ name ]
responses:
'200':
description: OK
Expand Down
2 changes: 1 addition & 1 deletion v5-rc/paths/ProgramCourseCollection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ get:
- name
- -courseId
- -name
default: courseId
default: [ courseId ]
responses:
'200':
description: OK
Expand Down
2 changes: 1 addition & 1 deletion v5-rc/paths/ProgramOfferingCollection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ get:
- -startDate
- -endDate
default:
- startDate
- [ startDate ]
responses:
'200':
description: OK
Expand Down
2 changes: 1 addition & 1 deletion v5-rc/paths/ProgramProgramCollection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ get:
- name
- -programId
- -name
default: name
default: [ name ]
responses:
'200':
description: OK
Expand Down
2 changes: 1 addition & 1 deletion v5-rc/paths/RoomCollection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ get:
- -name
- -totalSeats
- -availableSeats
default: name
default: [ name ]
responses:
'200':
description: OK
Expand Down
2 changes: 1 addition & 1 deletion v5-rc/schemas/Component.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ properties:
duration:
type: string
description: The duration of this component. The duration format is from the ISO 8601 ABNF as given in Appendix A of RFC 3339.
format: duration
pattern: '^(-?)P(?=\d|T\d)(?:(\d+)Y)?(?:(\d+)M)?(?:(\d+)([DW]))?(?:T(?:(\d+)H)?(?:(\d+)M)?(?:(\d+(?:\.\d+)?)S)?)?$'
example: P1DT30H4S
description:
type: array
Expand Down
2 changes: 1 addition & 1 deletion v5-rc/schemas/CourseProperties.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ properties:
duration:
type: string
description: The duration of this course. The duration format is from the ISO 8601 ABNF as given in Appendix A of RFC 3339.
format: duration
pattern: '^(-?)P(?=\d|T\d)(?:(\d+)Y)?(?:(\d+)M)?(?:(\d+)([DW]))?(?:T(?:(\d+)H)?(?:(\d+)M)?(?:(\d+(?:\.\d+)?)S)?)?$'
example: P1DT30H4S
firstStartDate:
type: string
Expand Down
2 changes: 1 addition & 1 deletion v5-rc/schemas/ProgramProperties.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ properties:
duration:
type: string
description: The duration of this program. The duration format is from the ISO 8601 ABNF as given in Appendix A of RFC 3339.
format: duration
pattern: '^(-?)P(?=\d|T\d)(?:(\d+)Y)?(?:(\d+)M)?(?:(\d+)([DW]))?(?:T(?:(\d+)H)?(?:(\d+)M)?(?:(\d+(?:\.\d+)?)S)?)?$'
example: P1DT30H4S
firstStartDate:
type: string
Expand Down
2 changes: 1 addition & 1 deletion v5-rc/spec.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
openapi: "3.1.0"
openapi: "3.0.3"
info:
version: "5.0.0 RC2"
title: Open Education API
Expand Down