Skip to content
This repository was archived by the owner on Mar 16, 2025. It is now read-only.

Commit 581317e

Browse files
committed
simpler
1 parent 89b9af6 commit 581317e

4 files changed

Lines changed: 8 additions & 60 deletions

File tree

src/main/kotlin/io/openapiprocessor/core/parser/OpenApi.kt

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,12 @@
11
/*
2-
* Copyright 2020 the original authors
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
2+
* Copyright 2020 https://github.com/openapi-processor/openapi-processor-core
3+
* PDX-License-Identifier: Apache-2.0
154
*/
165

176
package io.openapiprocessor.core.parser
187

198
/**
209
* OpenAPI parser result abstraction.
21-
*
22-
* @author Martin Hauner
2310
*/
2411
interface OpenApi {
2512

src/main/kotlin/io/openapiprocessor/core/parser/openapi4j/Parser.kt

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,6 @@
11
/*
2-
* Copyright 2020 the original authors
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
2+
* Copyright 2020 https://github.com/openapi-processor/openapi-processor-core
3+
* PDX-License-Identifier: Apache-2.0
154
*/
165

176
package io.openapiprocessor.core.parser.openapi4j
@@ -28,8 +17,6 @@ import org.slf4j.LoggerFactory
2817

2918
/**
3019
* openapi4j parser.
31-
*
32-
* @author Martin Hauner
3320
*/
3421
open class Parser {
3522
private val log: Logger = LoggerFactory.getLogger(this.javaClass.name)

src/main/kotlin/io/openapiprocessor/core/parser/swagger/OpenApi.kt

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,6 @@
11
/*
2-
* Copyright 2020 the original authors
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
2+
* Copyright 2020 https://github.com/openapi-processor/openapi-processor-core
3+
* PDX-License-Identifier: Apache-2.0
154
*/
165

176
package io.openapiprocessor.core.parser.swagger
@@ -26,8 +15,6 @@ import org.slf4j.LoggerFactory
2615

2716
/**
2817
* Swagger parser result.
29-
*
30-
* @author Martin Hauner
3118
*/
3219
class OpenApi(private val result: SwaggerParseResult): ParserOpenApi {
3320
private val log: Logger = LoggerFactory.getLogger(this.javaClass.name)

src/main/kotlin/io/openapiprocessor/core/parser/swagger/Parser.kt

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,6 @@
11
/*
2-
* Copyright 2020 the original authors
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
2+
* Copyright 2020 https://github.com/openapi-processor/openapi-processor-core
3+
* PDX-License-Identifier: Apache-2.0
154
*/
165

176
package io.openapiprocessor.core.parser.swagger
@@ -28,8 +17,6 @@ const val SCHEME_RESOURCE = "resource:"
2817

2918
/**
3019
* swagger parser.
31-
*
32-
* @author Martin Hauner
3320
*/
3421
open class Parser {
3522
private val log: Logger = LoggerFactory.getLogger(this.javaClass.name)

0 commit comments

Comments
 (0)