1 # you may not use this file except in compliance with the License.
2 # You may obtain a copy of the License at
4 # http://www.apache.org/licenses/LICENSE-2.0
6 # Unless required by applicable law or agreed to in writing, software
7 # distributed under the License is distributed on an "AS IS" BASIS,
8 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9 # See the License for the specific language governing permissions and
10 # limitations under the License.
12 from rest_framework import serializers
15 class LinkSerializer(serializers.Serializer):
16 href = serializers.CharField(
17 help_text="URI of the referenced resource.",