Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MOSIP-18085: Generated openapi.json for IDA- Authentication, Internal, OTP Service #714

Merged
merged 28 commits into from
Dec 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
2b6b678
MOSIP-18085: Upgraded swagger2 to openapi3 for authentication service
kameshsr Oct 19, 2021
17f8ca4
MOSIP-18085: Upgraded swagger2 to openapi3 for Id Authentication Inte…
kameshsr Oct 19, 2021
08b1195
Merge branch 'mosip:develop' into develop
kameshsr Oct 21, 2021
d58c94a
MOSIP-18085: Added Authorization headers
kameshsr Oct 21, 2021
5037a8e
Merge branch 'develop' of https://github.com/kameshsr/id-authenticati…
kameshsr Oct 21, 2021
879c5f2
MOSIP-18085: Added Authorization headers in internal service
kameshsr Oct 21, 2021
8ed06fb
MOSIP-18085: Upgraded swagger to openapi for otp services.
kameshsr Oct 21, 2021
a14403f
Merge branch 'mosip:develop' into develop
kameshsr Oct 22, 2021
6eb385e
MOSIP-18085: Added header in kyc and fixed sorting tags.
kameshsr Oct 22, 2021
b82451e
MOSIP-18085: Removed common properties for sorting of openapi tags.
kameshsr Oct 22, 2021
fdf6126
Merge branch 'mosip:develop' into develop
kameshsr Nov 18, 2021
230dfbe
Merge branch 'mosip:develop' into develop
kameshsr Nov 25, 2021
e20b2d4
Merge branch 'mosip:develop' into develop
kameshsr Nov 26, 2021
0f685b1
Merge branch 'mosip:develop' into develop
kameshsr Nov 29, 2021
9108c4a
Merge branch 'mosip:develop' into develop
kameshsr Dec 1, 2021
5d98133
Merge branch 'mosip:develop' into develop
kameshsr Dec 9, 2021
bd0979f
Merge branch 'mosip:develop' into develop
kameshsr Dec 10, 2021
eb0d7f5
Merge branch 'mosip:develop' into develop
kameshsr Dec 14, 2021
a874f1d
Merge branch 'mosip:develop' into develop
kameshsr Dec 14, 2021
b8ba147
Merge branch 'mosip:develop' into develop
kameshsr Dec 15, 2021
5fc417a
MOSIP-18085: Generated openapi.json for IDA- Authentication Service
kameshsr Dec 15, 2021
98f8b75
MOSIP-18085: Code Reformat
kameshsr Dec 15, 2021
316deb0
Merge branch 'mosip:develop' into develop
kameshsr Dec 16, 2021
94a3e59
MOSIP-18085: Generate openapi.json for IDA-OTP service.
kameshsr Dec 16, 2021
6914bcb
Merge branch 'mosip:develop' into develop
kameshsr Dec 16, 2021
84f4c05
MOSIP-18085: Generate openapi.json for IDA-Internal service.
kameshsr Dec 16, 2021
7be526a
MOSIP-18085: Removed extra properties from authentication-internal-se…
kameshsr Dec 16, 2021
a5c68b1
MOSIP-18085: Removed extra properties from authentication-internal-se…
kameshsr Dec 16, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
94 changes: 94 additions & 0 deletions authentication/authentication-internal-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -137,4 +137,98 @@
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>openapi-doc-generate-profile</id>
<dependencies>
<dependency>
<groupId>io.mosip.kernel</groupId>
<artifactId>kernel-auth-adapter</artifactId>
<version>1.2.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>io.mosip.authentication</groupId>
<artifactId>authentication-childauthfilter-impl</artifactId>
<version>1.2.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>io.mosip.biosdk</groupId>
<artifactId>biosdk-client</artifactId>
<version>1.2.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>io.mosip.demosdk</groupId>
<artifactId>demosdk-client</artifactId>
<version>1.2.0-SNAPSHOT</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring.boot.version}</version>
<configuration>
<executable>true</executable>
<layout>ZIP</layout>
<wait>1000</wait>
<maxAttempts>180</maxAttempts>
</configuration>
<executions>
<execution>
<id>pre-integration-test</id>
<goals>
<goal>start</goal>
</goals>
<configuration>
<folders>
<folder>src/test/resources</folder>
</folders>
<profiles>
<profile>openapi-profile</profile>
</profiles>
<arguments>
<argument>--server.port=8090</argument>
<argument>--server.servlet.context-path=/app/generic</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>post-integration-test</id>
<goals>
<goal>stop</goal>
</goals>
</execution>
<execution>
<goals>
<goal>build-info</goal>
<goal>repackage</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-maven-plugin</artifactId>
<version>0.2</version>
<executions>
<execution>
<id>integration-test</id>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
<configuration>
<apiDocsUrl>http://localhost:8090/app/generic/v3/api-docs/Id%20Authentication%20Internal%20Service
</apiDocsUrl>
<outputFileName>openapi.json</outputFileName>
<outputDir>${project.build.directory}</outputDir>
<skip>false</skip>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,116 +1,120 @@
{
"ida-mapping": {
"name": [
"fullName"
],
"dob": [
"dateOfBirth"
],
"dobType": [
"dateOfBirthType"
],
"age": [
"dateOfBirth"
],
"gender": [
"gender"
],
"phoneNumber": [
"phone"
],
"emailId": [
"email"
],
"addressLine1": [
"addressLine1"
],
"addressLine2": [
"addressLine2"
],
"addressLine3": [
"addressLine3"
],
"location1": [
"city"
],
"location2": [
"region"
],
"location3": [
"province"
],
"postalCode": [
"postalCode"
],
"fullAddress": [
"addressLine1",
"addressLine2",
"addressLine3",
"city",
"region",
"province",
"postalCode"
],
"otp": [
"otp"
],
"pin": [
"pin"
],
"leftIndex": [
"FINGER_Left IndexFinger_2"
],
"leftLittle": [
"FINGER_Left LittleFinger_2"
],
"leftMiddle": [
"FINGER_Left MiddleFinger_2"
],
"leftRing": [
"FINGER_Left RingFinger_2"
],
"leftThumb": [
"FINGER_Left ThumbFinger_2"
],
"rightIndex": [
"FINGER_Right IndexFinger_2"
],
"rightLittle": [
"FINGER_Right LittleFinger_2"
],
"rightMiddle": [
"FINGER_Right MiddleFinger_2"
],
"rightRing": [
"FINGER_Right RingFinger_2"
],
"rightThumb": [
"FINGER_Right ThumbFinger_2"
],
"leftEye": [
"IRIS_Left_9"
],
"rightEye": [
"IRIS_Right_9"
],
"iris": [
"leftEye",
"rightEye"
],
"fingerprint": [
"leftIndex",
"leftLittle",
"leftMiddle",
"leftRing",
"leftThumb",
"rightIndex",
"rightLittle",
"rightMiddle",
"rightRing",
"rightThumb"
],
"face": [
"FACE"
]
"identity": {
"IDSchemaVersion": {
"value": "IDSchemaVersion"
},
"name": {
"value": "fullName"
},
"gender": {
"value": "gender"
},
"dob": {
"value": "dateOfBirth"
},
"age": {
"value": "age"
},
"introducerRID": {
"value": "introducerRID"
},
"introducerUIN": {
"value": "introducerUIN"
},
"introducerVID": {
"value": "introducerVID"
},
"introducerName": {
"value": "introducerName"
},
"phone": {
"value": "phone"
},
"phoneNumber": {
"value": "phone"
},
"email": {
"value": "email"
},
"emailId": {
"value": "email"
},
"uin": {
"value": "UIN"
},
"individualBiometrics": {
"value": "individualBiometrics"
},
"introducerBiometrics": {
"value": "introducerBiometrics"
},
"individualAuthBiometrics": {
"value": "individualAuthBiometrics"
},
"officerBiometricFileName": {
"value": "officerBiometricFileName"
},
"supervisorBiometricFileName": {
"value": "supervisorBiometricFileName"
},
"residenceStatus": {
"value": "residenceStatus"
},
"preferredLanguage": {
"value": "preferredLang"
},
"locationHierarchyForProfiling": {
"value": "zone,postalCode"
},
"addressLine1": {
"value": "addressLine1"
},
"addressLine2": {
"value": "addressLine2"
},
"addressLine3": {
"value": "addressLine3"
},
"location1": {
"value": "city"
},
"location2": {
"value": "region"
},
"location3": {
"value": "province"
},
"postalCode": {
"value": "postalCode"
},
"location4": {
"value": "zone"
},
"fullAddress": {
"value": "addressLine1,addressLine2,addressLine3,city,region,province,postalCode"
}
},
"metaInfo": {
"value": "metaInfo"
},
"audits": {
"value": "audits"
},
"documents": {
"poa": {
"value": "proofOfAddress"
},
"poi": {
"value": "proofOfIdentity"
},
"por": {
"value": "proofOfRelationship"
},
"pob": {
"value": "proofOfDateOfBirth"
},
"poe": {
"value": "proofOfException"
}
}
}
Loading