title: Custom docs for feathers.js services with Swagger
body: <p>I have configured Swagger within my Feather.js app and it automatically generates docs for <em>all</em> endpoints on each service. Now, some endpoints on some service I want to omit from being generated as docs, because I simply disallow these endpoints or have some hidden logic behind them, that does not allow <code>external</code> calls.</p>
  
  <p>F.e. I have the following setup for the endpoints of my <code>/users/me</code> service:</p>
  
  <pre><code>before: {
      all: [authenticate('jwt')],
      find: [
        /*
         * We don't use an ID when calling `/users/me` like `/users/me/&lt;id&gt;`, and therefore Feathers understands the
         * incoming request as a `find` method instead of `get`, therefore we simply redirect it internally.
         */
        async context =&gt; {
          context.result = await context.service.get(context.params.user.id); // eslint-disable-line
          return context;
        }
      ],
      get: [
        iff(isProvider('external'), disallow()),
        includeGender()
      ],
      create: [disallow()],
      update: [setAuthenticatedUserId()],
      patch: [setAuthenticatedUserId()],
      remove: [setAuthenticatedUserId()]
    }
  </code></pre>
  
  <p>As you can see from the logic setup, I want to have the following docs generated:
  <a href="https://i.stack.imgur.com/0v6um.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0v6um.png" alt="enter image description here"></a></p>
  
  <p>I've followed <a href="https://github.com/feathersjs-ecosystem/feathers-swagger#servicedocs" rel="nofollow noreferrer">these docs</a> regarding <code>feathers-swagger</code>. I use the <code>schemasGenerator(service, model, modelName, schemas)</code> to generate docs for each service. Understandably this will generate the same schema of docs for each service. I tried adding custom stuff, as per the github module explanations, by either adding the <code>docs</code> object:</p>
  
  <pre><code> service.docs = {
              ...service.docs,
              operations: {
                find: false,
                create: false
              }
            };
  </code></pre>
  
  <p>or adding a global <code>operations: { find: false, create: false }</code> object on the Swagger config.</p>
  
  <p>The first option doesn't have an effect, and the second option applies it to all endpoints, which doesn't help me.</p>