apistandard-parent

RESTful API standard toolkit

License

License

Categories

Categories

Net
GroupId

GroupId

net.unit8.apistandard
ArtifactId

ArtifactId

apistandard-parent
Last Version

Last Version

0.1.0
Release Date

Release Date

Type

Type

pom
Description

Description

apistandard-parent
RESTful API standard toolkit
Project URL

Project URL

https://github.com/kawasima/api-standard
Source Code Management

Source Code Management

https://github.com/kawasima/api-standard

Download apistandard-parent

How to add to project

<!-- https://jarcasting.com/artifacts/net.unit8.apistandard/apistandard-parent/ -->
<dependency>
    <groupId>net.unit8.apistandard</groupId>
    <artifactId>apistandard-parent</artifactId>
    <version>0.1.0</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/net.unit8.apistandard/apistandard-parent/
implementation 'net.unit8.apistandard:apistandard-parent:0.1.0'
// https://jarcasting.com/artifacts/net.unit8.apistandard/apistandard-parent/
implementation ("net.unit8.apistandard:apistandard-parent:0.1.0")
'net.unit8.apistandard:apistandard-parent:pom:0.1.0'
<dependency org="net.unit8.apistandard" name="apistandard-parent" rev="0.1.0">
  <artifact name="apistandard-parent" type="pom" />
</dependency>
@Grapes(
@Grab(group='net.unit8.apistandard', module='apistandard-parent', version='0.1.0')
)
libraryDependencies += "net.unit8.apistandard" % "apistandard-parent" % "0.1.0"
[net.unit8.apistandard/apistandard-parent "0.1.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • parameter-parser

api-standard

RESTful API toolkit

Parameter parser

<dependencies>
  <dependency>
    <groupId>net.unit8.apistandard</groupId>
    <artifactId>parameter-parser</artifactId>
    <version>0.1.0</version>
  </dependency>
</dependencies>

ResourceFilter

ResourceFilter is a parser for embed and filter parameters. The specification of the parameter can have nested fields.

ResourceFilter resourceFilter = new ResourceFilter();
List<ResourceField> resourceFields = resourceFilter.parse("(a,b,c)");

SortParser

SortParser is a parser for a sort parameter. The prefix + means ascend order and the prefix - means descend order. a default order is descend.

SortParser parser = new SortParser();
List<SortField> sortFields = parser.parse("+a,-b,c");

License

Copyright by kawasima [email protected]. Licensed under Eclipse Public License v2.0.

Versions

Version
0.1.0