profile
viewpoint
If you are wondering where the data of this site comes from, please visit https://api.github.com/users/bearleethere/events. GitMemory does not store any data, but only uses NGINX to cache data for a period of time. The idea behind GitMemory is simply to give users a better reading experience.
Kim Lee bearleethere salesforce.com

pull request commentxerions/phoenix_swagger

Do not try to start ex_json_schema

:pray: any chance we could get a 0.8.4 on hex.pm for this fix?

lukaszsamson

comment created time in a month

fork benwilson512/kitchensink

This will be renamed later on to proper repository name

fork in 2 months

issue commentxerions/phoenix_swagger

is there a way to disable the swagger "try it out" UX ?

a quick and dirty way to do this is to fork the lib and add a plugin to lib/phoenix_swagger/plug/swaggerui.ex:

 window.onload=function(){
...
   const DisableTryItOutPlugin = function() {
      return {
        statePlugins: {
          spec: {
            wrapSelectors: {
              allowTryItOutFor: () => () => false
            }
          }
        }
      }
   }
   ...

then pop that into the plugins param in the SwaggerUiBundle object init

steveinatorx

comment created time in 2 months

PR opened xerions/phoenix_swagger

Misc doc changes

Besides other documentation changes, this commit ensures the generated HTML doc for HexDocs.pm will become the main source doc for this Elixir library which leverage on latest ExDoc features.

Screenshot: Screenshot-20210406211609-2682x1530

+351 -247

0 comment

22 changed files

pr created time in 2 months