forked from gravitee-io/gravitee-repository
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(page): add PageType to Page model
this commit add a PageType enum containing supported type for writing documentations like MD, SWAGGER, etc Breaking changes: - type attribute in Page.java is now of type PageType
- Loading branch information
Showing
2 changed files
with
17 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
src/main/java/io/gravitee/repository/management/model/PageType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package io.gravitee.repository.management.model; | ||
|
||
/** | ||
* @author Ludovic Dussart (ludovic.dussart at gmail.com) | ||
* Managed types for page documentation | ||
* | ||
*/ | ||
public enum PageType { | ||
|
||
MARKDOWN, | ||
RAML, | ||
SWAGGER | ||
|
||
} |