Skip to content

Commit

Permalink
Refactor getting the path info from the oa model
Browse files Browse the repository at this point in the history
  • Loading branch information
javiertuya committed Jan 4, 2025
1 parent 52f8df0 commit 1157a8b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions st-tdg-eval/src/test/resources/schema-petstore.json
Original file line number Diff line number Diff line change
Expand Up @@ -285,12 +285,12 @@
"ddls" : [ {
"command" : "post",
"query" : "/pet"
}, {
"command" : "put",
"query" : "/pet"
}, {
"command" : "post",
"query" : "/backid/pet"
}, {
"command" : "put",
"query" : "/pet"
} ]
}, {
"name" : "Customer0",
Expand Down
6 changes: 3 additions & 3 deletions st-tdg-test/src/test/resources/petstore/schema-petstore.json
Original file line number Diff line number Diff line change
Expand Up @@ -285,12 +285,12 @@
"ddls" : [ {
"command" : "post",
"query" : "/pet"
}, {
"command" : "put",
"query" : "/pet"
}, {
"command" : "post",
"query" : "/backid/pet"
}, {
"command" : "put",
"query" : "/pet"
} ]
}, {
"name" : "Customer0",
Expand Down
2 changes: 1 addition & 1 deletion st-tdg-test/src/test/resources/petstore/schema-petstore.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ classDiagram
User: +post(/user)
User: +put(/user/{username})
Pet: +post(/pet)
Pet: +put(/pet)
Pet: +post(/backid/pet)
Pet: +put(/pet)
Customer0: +post(/store/customer0)
Order0: +post(/store/order0)
Pet0: +post(/pet0)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@
<column name="tags" type="Pet_tags_xa" compositetype="array" subtype="object" notnull="true" />
<column name="status" type="string" notnull="true" checkin="available,pending,sold" />
<ddl command="post">/pet</ddl>
<ddl command="put">/pet</ddl>
<ddl command="post">/backid/pet</ddl>
<ddl command="put">/pet</ddl>
</table>
<table name="Customer0" type="table">
<column name="id" type="int64" key="true" notnull="true" />
Expand Down

0 comments on commit 1157a8b

Please sign in to comment.