Skip to content

Commit

Permalink
mark openapi.core/openapi-spec as deprecated
Browse files Browse the repository at this point in the history
see comment for details
  • Loading branch information
opqdonut committed Aug 28, 2023
1 parent a5eda35 commit 1f33bae
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/schema_tools/openapi/core.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,12 @@
;; Generate the OpenAPI spec
;;

(defn openapi-spec
;; Top-level openapi spec generation was moved to reitit in
;; https://github.com/metosin/reitit/pull/638
;;
;; Once reitit-0.7.0-alpha6 has been out for some time, this can be
;; deleted since it should have no other users.
(defn ^:deprecated openapi-spec
"Transform data into an OpenAPI spec. Input data must conform to the Swagger3
Spec (https://swagger.io/specification/) with a exception that it can have
any qualified keywords which are expanded with the
Expand Down

0 comments on commit 1f33bae

Please sign in to comment.