This repository was archived by the owner on Mar 14, 2021. It is now read-only.
File tree 6 files changed +14
-16
lines changed
main/java/io/openapiprocessor
testInt/groovy/io/openapiprocessor
6 files changed +14
-16
lines changed Original file line number Diff line number Diff line change 6
6
# will be placed into the "api" and "model" subpackages of packageName:
7
7
# - interfaces => "${packageName}.api"
8
8
# - models => "${packageName}.model"
9
- package-name : com.github.hauner.openapi
9
+ package-name : io.openapiprocessor
Original file line number Diff line number Diff line change 1
- package com . github . hauner . openapi ;
1
+ package io . openapiprocessor ;
2
2
3
3
import org .springframework .boot .SpringApplication ;
4
4
import org .springframework .boot .autoconfigure .SpringBootApplication ;
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2019 the original authors
2
+ * Copyright 2019-2020 the original authors
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
14
14
* limitations under the License.
15
15
*/
16
16
17
- package com . github . hauner . openapi ;
17
+ package io . openapiprocessor ;
18
18
19
- import com .github .hauner .openapi .api .EchoApi ;
20
- import org .springframework .http .ResponseEntity ;
19
+ import io .openapiprocessor .api .EchoApi ;
21
20
import org .springframework .web .bind .annotation .RestController ;
22
21
23
22
/**
29
28
public class EchoController implements EchoApi {
30
29
31
30
@ Override
32
- public ResponseEntity < String > getEcho (String source ) {
33
- return ResponseEntity . ok ( source ) ;
31
+ public String getEcho (String source ) {
32
+ return source ;
34
33
}
35
34
36
35
}
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2019 the original authors
2
+ * Copyright 2019-2020 the original authors
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
14
14
* limitations under the License.
15
15
*/
16
16
17
- package com . github . hauner . openapi ;
17
+ package io . openapiprocessor ;
18
18
19
- import com .github .hauner .openapi .api .PingApi ;
20
- import org .springframework .http .ResponseEntity ;
19
+ import io .openapiprocessor .api .PingApi ;
21
20
import org .springframework .web .bind .annotation .RestController ;
22
21
23
22
/**
29
28
public class PingController implements PingApi {
30
29
31
30
@ Override
32
- public ResponseEntity < String > getPing () {
33
- return ResponseEntity . ok ( "pong" ) ;
31
+ public String getPing () {
32
+ return "pong" ;
34
33
}
35
34
36
35
}
Original file line number Diff line number Diff line change 14
14
* limitations under the License.
15
15
*/
16
16
17
- package com.github.hauner.openapi
17
+ package io.openapiprocessor
18
18
19
19
import org.springframework.beans.factory.annotation.Autowired
20
20
import org.springframework.boot.test.context.SpringBootTest
Original file line number Diff line number Diff line change 14
14
* limitations under the License.
15
15
*/
16
16
17
- package com.github.hauner.openapi
17
+ package io.openapiprocessor
18
18
19
19
import org.springframework.beans.factory.annotation.Autowired
20
20
import org.springframework.boot.test.context.SpringBootTest
You can’t perform that action at this time.
0 commit comments