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

mark openapi.core/openapi-spec as deprecated #85

Merged
merged 1 commit into from
Aug 28, 2023
Merged
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
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
Loading