-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(server): standardizing datastore resource names #2796
Conversation
@@ -192,8 +192,8 @@ func (s *ResourceApiApiService) GetDataStore(ctx context.Context, dataStoreId st | |||
// TODO - update GetDataStore with the required logic for this service method. | |||
// Add api_resource_api_service.go to the .openapi-generator-ignore to avoid overwriting this service implementation when updating open api generation. | |||
|
|||
//TODO: Uncomment the next line to return response Response(200, DataStoreResource{}) or use other options such as http.Ok ... | |||
//return Response(200, DataStoreResource{}), nil | |||
//TODO: Uncomment the next line to return response Response(200, datastore{}) or use other options such as http.Ok ... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be renamed? try running make generate
to keep it in sync with the openapi files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No 🤦 , I'm reverting this change.
@@ -12,7 +12,7 @@ package openapi | |||
type DataStoreList struct { | |||
Count int32 `json:"count,omitempty"` | |||
|
|||
Items []DataStoreResource `json:"items,omitempty"` | |||
Items []datastore `json:"items,omitempty"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reverting too.
3b83f63
to
c7cefe5
Compare
This PR updates the names of the datastore resource files to a common standard that we defined with Tracetest Core contributors.
Changes
Checklist