File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/main/kotlin/de/lancom/openapi/simple/entity Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ data class InvalidReference(
18
18
ResponseOrRef ,
19
19
SchemaOrRef ,
20
20
SecuritySchemeOrRef ,
21
- de.lancom.openapi.simple.entity. ServerOrRef {
21
+ ServerOrRef {
22
22
override val componentType: ComponentType
23
23
get() = throw UnsupportedOperationException (" Invalid reference does not have a component type" )
24
24
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import de.lancom.openapi.common.util.ValidParsedReference
5
5
6
6
data class ServerReference (
7
7
override val parsedReference : ValidParsedReference
8
- ) : de.lancom.openapi.simple.entity. Reference, de.lancom.openapi.simple.entity. ServerOrRef {
8
+ ) : Reference, ServerOrRef {
9
9
init {
10
10
if (parsedReference.componentType != this .componentType) {
11
11
throw IllegalArgumentException (" invalid component type ${parsedReference.componentType} !" )
@@ -17,8 +17,8 @@ data class ServerReference(
17
17
}
18
18
19
19
companion object {
20
- fun fromName (name : String ): de.lancom.openapi.simple.entity. ServerReference {
21
- return de.lancom.openapi.simple.entity. ServerReference (ValidParsedReference (ComponentType .Servers , name))
20
+ fun fromName (name : String ): ServerReference {
21
+ return ServerReference (ValidParsedReference (ComponentType .Servers , name))
22
22
}
23
23
}
24
24
}
You can’t perform that action at this time.
0 commit comments