Hans Pagel

Results 36 issues of Hans Pagel

This PR rolls back #1636 and re-introduces `rehype-highlight` (which uses lowlight for syntax highlighting). This should fix #1716, but also increase the bundle size again. I’ve got some ideas to...

Currently, there’s no UI to send form data with the API client. Example: ```json { "openapi": "3.1.0", "info": { "title": "Hello World", "version": "1.0.0" }, "paths": { "/formData": { "post":...

enhancement

This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically....

The new API client layout seems to add some extra whitespace to the response panel. https://github.com/scalar/scalar/assets/1577992/f52dd1dd-0867-40cb-826a-999568f62239

bug

I’m writing a detailed Nuxt.js integration guide, but we need to fix the Nuxt Module first.

![image](https://github.com/scalar/scalar/assets/1577992/8686026d-f2d7-4494-a98a-09bfef4dfa3a) Oh it was throwing errors on the server ``` examples/api-client-proxy dev: POST http://api/-/askdata/lenses examples/api-client-proxy dev: ERROR TypeError: fetch failed examples/api-client-proxy dev: at Object.fetch (node:internal/deps/undici/undici:11372:11) examples/api-client-proxy dev: at processTicksAndRejections (node:internal/process/task_queues:95:5)...

enhancement
help wanted

the current proxy is … very unique. 🦄 let’s migrate to fastify-http-proxy with a dynamic upstream (https://github.com/fastify/fastify-reply-from?tab=readme-ov-file#getupstreamrequest-base). - [ ] run locally - [ ] make upstream dynamic - [...

I think there’s no way to change the page title, though I assumed you can do it through the `metaData` configuration. 🤔 Would be nice to have a way to...

enhancement
help wanted

Sometimes, you want to override the server URL just for a single path. We don’t support this yet, so let’s add support for it. :)

enhancement

OpenAPI YAML defining a simple post endpoint that supports both JSON and XML request bodies ``` openapi: 3.0.3 info: title: API version: 1.0.0 servers: - url: http://localhost:55321 paths: /record: post:...