This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns ^{:doc "Convert Swagger 2 specs to OpenAPI 3 specs | |
We're using the standard reitit mechanisms to produce a Swagger spec, | |
but we'd much rather be using an OpenAPI 3 spec. This namespace does a | |
conversion for us, until the functionality lands in reitit."} | |
convert-to-openapi | |
(:require [camel-snake-kebab.core :refer [->PascalCase]] | |
[clojure.set :refer [rename-keys]] | |
[clojure.string :as str] | |
[clojure.walk :as walk] |