servant-swagger-ui
servant-swagger-ui copied to clipboard
Provide embedded swagger UI for servant and swagger
See #89 Rebased, added Changelog entries and version bumps. Provided it is pretty straightforward to upgrade I don't think it's worth bothering with additional complexity. @kosmikus Thanks for hunting down...
According to https://swagger.io/docs/open-source-tools/swagger-ui/usage/oauth2/ it's possible to pass some default values to `initOAuth`, e.g. `clientId`, so that users do not have to type it every time they log in. Is this...
## Steps to reproduce - MacBook Air M1 - macOS 12.3.1 - `xz` 5.2.5 (for `lzma`) - GHC 8.10.7 - Cabal 3.6.2.0 ```sh brew install xz git clone [email protected]:haskell-servant/servant-swagger-ui.git cd...
This change modifies the previously introduced generalisation of the Haskell datatype that holds the Swagger specification to an aeson Value, see 6576953c39bf1407813ba1880525ed08ea8af9eb By using an aeson Value, all ordering information...
I am using Swagger OpenAPI 3 with Spring boot and OAuth2.0. I have following configuration for swagger ` @OpenAPIDefinition(info = @Info(title = "REST API Documentation", version = "V1", description =...
- replace travis badge with github actions badge - replace stackage lts-5 badge with stackage lts badge - fix typo embbeded -> embedded
This seems to be part of the default config (see https://github.com/swagger-api/swagger-ui/blob/a86fcf312a0d9b04d99982bf88a3d95884eddb9a/swagger-config.yaml). For this to work, we would need to be able to override that URL to point to a page...
I couldn't find a function for this: ``` haskell -- | Dump the swagger schema and swagger-ui files to a directory. swaggerSchemaUiDump :: forall dir api schema . (KnownSymbol dir,...
If there's a `POST` under the same route as swagger and it comes after swagger UI, it will result into something like: ``` $ curl -X POST http://localhost:8090/api/v1/fastspring Only GET...