Skip to content

Open up internal libraries for external usage#177

Merged
SMILEY4 merged 1 commit intoSMILEY4:developfrom
jeggy:develop
Jan 27, 2025
Merged

Open up internal libraries for external usage#177
SMILEY4 merged 1 commit intoSMILEY4:developfrom
jeggy:develop

Conversation

@jeggy
Copy link
Contributor

@jeggy jeggy commented Jan 24, 2025

As written in the wiki here: https://github.com/SMILEY4/ktor-swagger-ui/wiki/Types-and-Schemas#global-types-and-schemas

I should be able to overwrite schemas as the following:

schema("example-schema-3", Schema<Any>().also {
  it.type = "array"
  //...
})

But because of Schema is coming from swagger-core it's not available for me to use in my project.

@SMILEY4
Copy link
Owner

SMILEY4 commented Jan 27, 2025

Hi,
I think the original idea was to let the user decide what to use and include, but after further though this is probably not relevant anymore and for now opening it up is easier for everyone.

Thanks for the PR

@SMILEY4 SMILEY4 merged commit 2b9f7a9 into SMILEY4:develop Jan 27, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants