Polish "Migrate legacy endpoint that have a dash in their id"
See gh-21615
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
* Copyright 2012-2020 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -25,7 +25,7 @@ import org.springframework.stereotype.Component;
|
||||
|
||||
@Component
|
||||
@Endpoint(id = "lega.cy")
|
||||
public class SampleLegacyEndpoint {
|
||||
public class SampleLegacyEndpointWithDot {
|
||||
|
||||
@ReadOperation
|
||||
public Map<String, String> example() {
|
||||
Reference in New Issue
Block a user