-
Notifications
You must be signed in to change notification settings - Fork 57
Expose isa tags through api #2448
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
base: main
Are you sure you want to change the base?
Conversation
stuzart
left a comment
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.
I'm not sure it's JSONAPI compliant and consistent with the rest of the api.
It needs adding to the schema and docs, with examples, which would make this clearer: e.g https://testing.sysmo-db.org/api#tag/sampleAttributeTypes
Ideally also included in integration/api tests (although I realise sampleAttributeTypes may not have)
| @@ -0,0 +1,5 @@ | |||
| # frozen_string_literal: true | |||
|
|
|||
| class ISATagSerializer < ActiveModel::Serializer | |||
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.
I think this needs to be based off BaseSerializer or SimpleBaseSerializer to get the jsonapi and meta blocks
Enables users to fetch ISA tags through the API