mirror of
https://gitee.com/dcren/initializr.git
synced 2025-09-19 01:58:16 +08:00
Explicit support for curl
Add an explicit support for curl by returning a text description of the service instead of the raw meta-data. curl users can still discover the json metadata by setting the appropriate Accept header. Also support for explicit "text/plain" if the user requires it. In this case a generic text description is returned. Closes gh-67
This commit is contained in:
@@ -118,6 +118,7 @@ initializr:
|
||||
types:
|
||||
- name: Maven POM
|
||||
id: maven-build
|
||||
description: Generate a Maven pom.xml
|
||||
sts-id: pom.xml
|
||||
tags:
|
||||
build: maven
|
||||
@@ -126,6 +127,7 @@ initializr:
|
||||
action: /pom.xml
|
||||
- name: Maven Project
|
||||
id: maven-project
|
||||
description: Generate a Maven based project archive
|
||||
sts-id: starter.zip
|
||||
tags:
|
||||
build: maven
|
||||
@@ -134,6 +136,7 @@ initializr:
|
||||
action: /starter.zip
|
||||
- name: Gradle Config
|
||||
id: gradle-build
|
||||
description: Generate a Gradle based project archive
|
||||
sts-id: build.gradle
|
||||
tags:
|
||||
build: gradle
|
||||
@@ -142,6 +145,7 @@ initializr:
|
||||
action: /build.gradle
|
||||
- name: Gradle Project
|
||||
id: gradle-project
|
||||
description: Generate a Gradle build file
|
||||
sts-id: gradle.zip
|
||||
tags:
|
||||
build: gradle
|
||||
|
Reference in New Issue
Block a user