CopyPastor

Detecting plagiarism made easy.

Score: 2; Reported for: String similarity, Exact paragraph match Open both answers

Possible Plagiarism

Reposted on 2022-12-26
by Kambei

Original Post

Original - Posted on 2022-12-26
by Kambei



            
Present in both answers; Present only in the new answer; Present only in the old answer;

I solved with this `application.yml`:
``` spring: cloud: gateway: routes: - id: openapi uri: http://localhost:${server.port} predicates: - Path=/v3/api-docs/** filters: - RewritePath=/v3/api-docs/(?<path>.*), /$\{path}/v3/api-docs - id: characters-service uri: lb://characters-service predicates: - Path=/characters-service/** filters: - RewritePath=/characters-service/(?<path>.*), /$\{path}

springdoc: enable-native-support: true api-docs: groups: enabled: true enabled: true group-configs: - group: api-gateway packages-to-scan: - dev.kambei.apigateway display-name: API Gateway - group: characters-service paths-to-match: - /characters-service/** display-name: Characters Service swagger-ui: config-url: /v3/api-docs/swagger-config url: /v3/api-docs urls: - url: /v3/api-docs name: API Gateway - url: /characters-service/v3/api-docs name: Characters Service ```
I solved with this `application.yml`:
``` spring: cloud: gateway: routes: - id: openapi uri: http://localhost:${server.port} predicates: - Path=/v3/api-docs/** filters: - RewritePath=/v3/api-docs/(?<path>.*), /$\{path}/v3/api-docs - id: characters-service uri: lb://characters-service predicates: - Path=/characters-service/** filters: - RewritePath=/characters-service/(?<path>.*), /$\{path}

springdoc: enable-native-support: true api-docs: groups: enabled: true enabled: true group-configs: - group: api-gateway packages-to-scan: - dev.kambei.apigateway display-name: API Gateway - group: characters-service paths-to-match: - /characters-service/** display-name: Characters Service swagger-ui: config-url: /v3/api-docs/swagger-config url: /v3/api-docs urls: - url: /v3/api-docs name: API Gateway - url: /characters-service/v3/api-docs name: Characters Service ```

        
Present in both answers; Present only in the new answer; Present only in the old answer;