Skip to content

Commit

Permalink
v2: make license and description plaintext
Browse files Browse the repository at this point in the history
They are not in json format.

Signed-off-by: Peng Tao <bergwolf@hyper.sh>
  • Loading branch information
bergwolf committed Sep 30, 2024
1 parent 0f12e13 commit af03b9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions specs-go/v2/mediatype.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ const (
MediaTypeModelConfig = "application/vnd.cnai.model.config.v2+json"

// MediaTypeModelLicense specifies the media type for model license.
MediaTypeModelLicense = "application/vnd.cnai.model.license.v2+json"
MediaTypeModelLicense = "application/vnd.cnai.model.license.v2+plaintext"

// MediaTypeModelDescription specifies the media type for model description.
MediaTypeModelDescription = "application/vnd.cnai.model.description.v2+json"
MediaTypeModelDescription = "application/vnd.cnai.model.description.v2+plaintext"

// MediaTypeModelExtension specifies the media type for model configuration extension.
MediaTypeModelExtension = "application/vnd.cnai.model.extension.v2+json"
Expand Down

0 comments on commit af03b9a

Please sign in to comment.