File tree 7 files changed +6
-10
lines changed
modules/swagger-codegen/src/main/resources/undertow
samples/server/petstore/undertow/src/main/java/io/swagger/model
7 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -20,9 +20,5 @@ oauth2 server [undertow-server-oauth2](https://github.com/networknt/undertow-ser
20
20
Bearer eyJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJ1cm46Y29tOm5ldHdvcmtudDpvYXV0aDI6djEiLCJhdWQiOiJ1cm46Y29tLm5ldHdvcmtudCIsImV4cCI6MTc4ODEzMjczNSwianRpIjoiNWtyM2ZWOHJaelBZNEJrSnNYZzFpQSIsImlhdCI6MTQ3Mjc3MjczNSwibmJmIjoxNDcyNzcyNjE1LCJ2ZXJzaW9uIjoiMS4wIiwidXNlcl9pZCI6InN0ZXZlIiwidXNlcl90eXBlIjoiRU1QTE9ZRUUiLCJjbGllbnRfaWQiOiJkZGNhZjBiYS0xMTMxLTIyMzItMzMxMy1kNmYyNzUzZjI1ZGMiLCJzY29wZSI6WyJhcGkuciIsImFwaS53Il19.gteJiy1uao8HLeWRljpZxHWUgQfofwmnFP-zv3EPUyXjyCOy3xclnfeTnTE39j8PgBwdFASPcDLLk1YfZJbsU6pLlmYXLtdpHDBsVmIRuch6LFPCVQ3JdqSQVci59OhSK0bBThGWqCD3UzDI_OnX4IVCAahcT9Bu94m5u_H_JNmwDf1XaP3Lt4I34buYMuRD9stchsnZi-tuIRkL13FARm1XA9aPZUMUXFdedBWDXo1zMREQ_qCJXOpaZDJM9Im0rIkq9wTEVU00pbRp_Vcdya3dfkFteBMHiwFVt6VNQaco5BXURDAIzXidwQxNEbX1ek03wra8AIani65ZK7fy_w
21
21
```
22
22
23
- Postman is the best tool to test REST APIs
24
-
25
23
Add "Authorization" header with value as above token and a dummy message will return from the generated stub.
26
24
27
-
28
-
Original file line number Diff line number Diff line change 13
13
**/
14
14
15
15
@ ApiModel (description = "A category for a pet" )
16
- @ javax .annotation .Generated (value = "class io.swagger.codegen.languages.UndertowCodegen" , date = "2016-09-26T16:15:27.984 +08:00" )
16
+ @ javax .annotation .Generated (value = "class io.swagger.codegen.languages.UndertowCodegen" , date = "2016-10-19T16:19:58.109 +08:00" )
17
17
public class Category {
18
18
19
19
private Long id = null ;
Original file line number Diff line number Diff line change 13
13
**/
14
14
15
15
@ ApiModel (description = "Describes the result of uploading an image resource" )
16
- @ javax .annotation .Generated (value = "class io.swagger.codegen.languages.UndertowCodegen" , date = "2016-09-26T16:15:27.984 +08:00" )
16
+ @ javax .annotation .Generated (value = "class io.swagger.codegen.languages.UndertowCodegen" , date = "2016-10-19T16:19:58.109 +08:00" )
17
17
public class ModelApiResponse {
18
18
19
19
private Integer code = null ;
Original file line number Diff line number Diff line change 15
15
**/
16
16
17
17
@ ApiModel (description = "An order for a pets from the pet store" )
18
- @ javax .annotation .Generated (value = "class io.swagger.codegen.languages.UndertowCodegen" , date = "2016-09-26T16:15:27.984 +08:00" )
18
+ @ javax .annotation .Generated (value = "class io.swagger.codegen.languages.UndertowCodegen" , date = "2016-10-19T16:19:58.109 +08:00" )
19
19
public class Order {
20
20
21
21
private Long id = null ;
Original file line number Diff line number Diff line change 18
18
**/
19
19
20
20
@ ApiModel (description = "A pet for sale in the pet store" )
21
- @ javax .annotation .Generated (value = "class io.swagger.codegen.languages.UndertowCodegen" , date = "2016-09-26T16:15:27.984 +08:00" )
21
+ @ javax .annotation .Generated (value = "class io.swagger.codegen.languages.UndertowCodegen" , date = "2016-10-19T16:19:58.109 +08:00" )
22
22
public class Pet {
23
23
24
24
private Long id = null ;
Original file line number Diff line number Diff line change 13
13
**/
14
14
15
15
@ ApiModel (description = "A tag for a pet" )
16
- @ javax .annotation .Generated (value = "class io.swagger.codegen.languages.UndertowCodegen" , date = "2016-09-26T16:15:27.984 +08:00" )
16
+ @ javax .annotation .Generated (value = "class io.swagger.codegen.languages.UndertowCodegen" , date = "2016-10-19T16:19:58.109 +08:00" )
17
17
public class Tag {
18
18
19
19
private Long id = null ;
Original file line number Diff line number Diff line change 13
13
**/
14
14
15
15
@ ApiModel (description = "A User who is purchasing from the pet store" )
16
- @ javax .annotation .Generated (value = "class io.swagger.codegen.languages.UndertowCodegen" , date = "2016-09-26T16:15:27.984 +08:00" )
16
+ @ javax .annotation .Generated (value = "class io.swagger.codegen.languages.UndertowCodegen" , date = "2016-10-19T16:19:58.109 +08:00" )
17
17
public class User {
18
18
19
19
private Long id = null ;
You can’t perform that action at this time.
0 commit comments