Skip to content

Instantly share code, notes, and snippets.

@NeQuissimus
Created August 2, 2017 18:26
Show Gist options
  • Save NeQuissimus/34930388b119a648610c0e28451ca228 to your computer and use it in GitHub Desktop.
Save NeQuissimus/34930388b119a648610c0e28451ca228 to your computer and use it in GitHub Desktop.
override val unwantedDefinitions = SwaggerGarbage.hiddenImplicits for your SwaggerHttpService
object SwaggerGarbage {
val hiddenImplicits = Seq(
"AssetRoutes",
"AuthenticationDirective",
"AuthenticationDirectiveObject",
"Authority",
"ByteRange",
"ByteRanges",
"CircuitBreaker",
"ClassLoader",
"ClassTag",
"ClassTagHttpCredentials",
"CompleteOrRecoverWithMagnet",
"ContentType",
"ContentTypeResolver",
"DateTime",
"Decoder",
"Default",
"DerivedDecoder",
"DerivedObjectEncoder",
"Directive",
"DirectiveBoxedUnit",
"DirectiveObject",
"DirectiveTuple1ActorSystem",
"DirectiveTuple1ExecutionContextExecutor",
"DirectiveTuple1HttpCookiePair",
"DirectiveTuple1HttpMethod",
"DirectiveTuple1HttpRequest",
"DirectiveTuple1Language",
"DirectiveTuple1LoggingAdapter",
"DirectiveTuple1MapStringListString",
"DirectiveTuple1MapStringString",
"DirectiveTuple1Materializer",
"DirectiveTuple1Object",
"DirectiveTuple1OptionHttpCookiePair",
"DirectiveTuple1OptionHttpCredentials",
"DirectiveTuple1OptionHttpHeader",
"DirectiveTuple1OptionObject",
"DirectiveTuple1OptionString",
"DirectiveTuple1ParserSettings",
"DirectiveTuple1Path",
"DirectiveTuple1RemoteAddress",
"DirectiveTuple1RequestContext",
"DirectiveTuple1RequestEntity",
"DirectiveTuple1RoutingSettings",
"DirectiveTuple1SeqString",
"DirectiveTuple1SeqTuple2StringString",
"DirectiveTuple1SourceByteStringObject",
"DirectiveTuple1Strict",
"DirectiveTuple1String",
"DirectiveTuple1Throwable",
"DirectiveTuple1TryObject",
"DirectiveTuple1Tuple2FileInfoFile",
"DirectiveTuple1Tuple2FileInfoSourceByteStringObject",
"DirectiveTuple1UpgradeToWebSocket",
"DirectiveTuple1Uri",
"DirectoryRenderer",
"Duration",
"Encoder",
"EntityStreamingSupport",
"EntityTag",
"ExceptionHandler",
"ExecutionContext",
"ExecutionContextExecutor",
"FieldMagnet",
"FiniteDuration",
"Flow",
"FlowByteStringByteStringNotUsed",
"FlowMessageMessageObject",
"FlowShape",
"FlowShapeMessageMessage",
"FlowShapeObjectObject",
"Function0",
"Function0FutureObject",
"Function0Object",
"Function0ToResponseMarshallable",
"Function1",
"Function1CredentialsFutureOptionObject",
"Function1CredentialsOptionObject",
"Function1Function1ObjectBoxedUnitBoxedUnit",
"Function1Function1RequestContextFutureRouteResultFunction1RequestContextFutureRouteResult",
"Function1FutureRouteResultFutureRouteResult",
"Function1HttpHeaderOptionObject",
"Function1HttpRequestHttpRequest",
"Function1HttpRequestHttpResponse",
"Function1HttpResponseHttpResponse",
"Function1LoggingAdapterFunction1HttpRequestBoxedUnit",
"Function1LoggingAdapterFunction1HttpRequestFunction1RouteResultBoxedUnit",
"Function1LoggingAdapterFunction1RouteResultBoxedUnit",
"Function1LoggingAdapterObject",
"Function1ObjectObject",
"Function1OptionHttpCredentialsFutureEitherHttpChallengeObject",
"Function1PathPath",
"Function1RejectionObject",
"Function1RequestContextFutureObject",
"Function1RequestContextFutureRouteResult",
"Function1RequestContextObject",
"Function1RequestContextRequestContext",
"Function1ResponseEntityResponseEntity",
"Function1RouteResultFutureRouteResult",
"Function1RouteResultRouteResult",
"Function1RoutingSettingsRoutingSettings",
"Function1SeqHttpHeaderSeqHttpHeader",
"Function1SeqRejectionFutureRouteResult",
"Function1SeqRejectionRouteResult",
"Function1SeqRejectionSeqRejection",
"Function1StringObject",
"HeaderMagnet",
"HeaderMagnetHttpHeader",
"HeaderMagnetObject",
"HexIntNumber$",
"HexLongNumber$",
"Host",
"HttpCharset",
"HttpCookie",
"HttpEncoding",
"HttpHeader",
"HttpMethod",
"HttpOrigin",
"HttpProtocol",
"HttpResponse",
"Inlet",
"InletMessage",
"InletObject",
"Integral",
"IntegralObject",
"IntNumber$",
"Iterable",
"IterableHttpHeader",
"IterableInetAddress",
"IterableString",
"Language",
"LoggingAdapter",
"LoggingMagnet",
"LoggingMagnetFunction1HttpRequestBoxedUnit",
"LoggingMagnetFunction1HttpRequestFunction1RouteResultBoxedUnit",
"LoggingMagnetFunction1RouteResultBoxedUnit",
"LongNumber$",
"Marshaller",
"MarshallerObjectHttpResponse",
"Materializer",
"Module",
"Multipart",
"NameOptionReceptacle",
"NameOptionReceptacleString",
"NameReceptacle",
"NameReceptacleString",
"OnSuccessMagnet",
"Option",
"OptionalLong",
"OptionDateTime",
"OptionEntityTag",
"OptionFunction1HttpRequestHttpResponse",
"OptionString",
"Outlet",
"OutletMessage",
"OutletObject",
"ParamMagnet",
"PartialFunction",
"PartialFunctionCredentialsFutureObject",
"PartialFunctionCredentialsObject",
"PartialFunctionHttpHeaderObject",
"PartialFunctionRouteResultFutureRouteResult",
"PartialFunctionRouteResultRouteResult",
"Path",
"PathEnd$",
"PathMatcher",
"PathMatcherBoxedUnit",
"PathMatcherObject",
"PathMatcherTuple1ListString",
"PathMatcherTuple1Object",
"PathMatcherTuple1String",
"PathMatcherTuple1UUID",
"Pattern",
"Redirection",
"Regex",
"Rejection",
"RejectionHandler",
"Remaining$",
"RemainingPath$",
"RequestEntityAcceptance",
"ResponseEntity",
"RouteWithConcatenation",
"RoutingSettings",
"Scheduler",
"Segment$",
"SeqClass",
"SeqDecoder",
"SeqEncoder",
"SeqFunction1RequestContextFutureRouteResult",
"SeqHttpCookie",
"SeqHttpHeader",
"SeqLanguage",
"SeqRejection",
"SeqString",
"Slash$",
"Source",
"SourceBodyPartObject",
"SourceByteStringObject",
"StandardRoute",
"StatusCode",
"Symbol",
"ToResponseMarshallable",
"Tuple",
"Tuple2",
"Tuple2StringObject",
"TupleBoxedUnit",
"TupleObject",
"TupleTuple1ActorSystem",
"TupleTuple1ExecutionContextExecutor",
"TupleTuple1HttpCookiePair",
"TupleTuple1HttpMethod",
"TupleTuple1HttpRequest",
"TupleTuple1Language",
"TupleTuple1ListString",
"TupleTuple1LoggingAdapter",
"TupleTuple1MapStringListString",
"TupleTuple1MapStringString",
"TupleTuple1Materializer",
"TupleTuple1Object",
"TupleTuple1OptionHttpCookiePair",
"TupleTuple1OptionHttpCredentials",
"TupleTuple1OptionHttpHeader",
"TupleTuple1OptionObject",
"TupleTuple1OptionString",
"TupleTuple1ParserSettings",
"TupleTuple1Path",
"TupleTuple1RemoteAddress",
"TupleTuple1RequestContext",
"TupleTuple1RequestEntity",
"TupleTuple1RoutingSettings",
"TupleTuple1SeqString",
"TupleTuple1SeqTuple2StringString",
"TupleTuple1SourceByteStringObject",
"TupleTuple1Strict",
"TupleTuple1String",
"TupleTuple1Throwable",
"TupleTuple1TryObject",
"TupleTuple1Tuple2FileInfoFile",
"TupleTuple1Tuple2FileInfoSourceByteStringObject",
"TupleTuple1UpgradeToWebSocket",
"TupleTuple1Uri",
"TupleTuple1UUID",
"UniversalEntity",
"Unmarshaller",
"UnmarshallerByteStringObject",
"UnmarshallerHttpRequestObject",
"UnmarshallerHttpRequestSourceObjectNotUsed",
"Uri")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment