Skip to content

Commit

Permalink
removes lrsql-specific portions of openAPI spec
Browse files Browse the repository at this point in the history
  • Loading branch information
invaliduser committed Jul 24, 2024
1 parent 582ea0f commit 8c0749a
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions src/main/com/yetanalytics/lrs/pedestal/openapi.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@
[com.yetanalytics.gen-openapi.core :as gc]))

(def components
{:securitySchemes
{:bearerAuth {:type :http
:scheme :bearer
:bearerFormat :JWT}}
:responses
{:responses
{:error-400 (g/response "Bad Request" :r#Error)
:error-401 (g/response "Unauthorized" :r#Error)}
:schemas
Expand Down Expand Up @@ -52,9 +48,6 @@
:IRI {:type :string :format :iri}
:IRL :t#string
:MailToIRI {:type :string :format :email}
:KeyPair (gs/o {:api-key :t#string
:secret-key :t#string})

:Person {:type :object
:properties {:objectType {:type :string :pattern "Person"}
:name (gs/a :t#string)
Expand All @@ -63,10 +56,6 @@
:openid* (gs/a :r#URI)
:account* (gs/a :r#Account)}
:required [:objectType]}
:Scopes (gs/o {:scopes (gs/a :t#string)})
:ScopedKeyPair {:allOf [:r#KeyPair
:r#Scopes]}

:statementId {:type :string}
:Statement {:type :object :description "https://github.com/adlnet/xAPI-Spec/blob/master/xAPI-Data.md#20-statements"}

Expand Down

0 comments on commit 8c0749a

Please sign in to comment.