-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
For the same endpoint name with different HTTP verbs gengen generates separate services:

To Reproduce
here is the minimal "path" section
"paths": {
"/sample/test": {
"get": {
"tags": [
"sample"
],
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"type": "string"
}
}
}
}
}
},
"post": {
"tags": [
"sample"
],
"responses": {
"200": {
"description": "Success"
}
}
},
"put": {
"tags": [
"sample"
],
"responses": {
"200": {
"description": "Success"
}
}
},
"delete": {
"tags": [
"sample"
],
"responses": {
"200": {
"description": "Success"
}
}
}
}
}Expected behavior
Gengen generates only one service with different methods
Additional context
Such "paths" can be generated by ASP minimal API:
var group = app.MapGroup("sample").WithTags("sample");
group.MapGet("test", () => "test");
group.MapPost("test", () => {});
group.MapPut("test", () => {});
group.MapDelete("test", () => {});Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
