diff --git a/doc/src/main/asciidoc/openapi/.openapi-generator/openapi.yaml-asciidoc.sha256 b/doc/src/main/asciidoc/openapi/.openapi-generator/openapi.yaml-asciidoc.sha256 index f7c7f2f..e1b93e7 100644 --- a/doc/src/main/asciidoc/openapi/.openapi-generator/openapi.yaml-asciidoc.sha256 +++ b/doc/src/main/asciidoc/openapi/.openapi-generator/openapi.yaml-asciidoc.sha256 @@ -1 +1 @@ -2a60639c3f8b298068a52df302a54d686029f1e6b5190b0adc2299e375aa1892 \ No newline at end of file +61afb69e36ed22dad34196d1f1bcaf0ee76844e96a615ba8d745ade634223fa6 \ No newline at end of file diff --git a/doc/src/main/asciidoc/openapi/index.adoc b/doc/src/main/asciidoc/openapi/index.adoc index 727f5be..ba30725 100644 --- a/doc/src/main/asciidoc/openapi/index.adoc +++ b/doc/src/main/asciidoc/openapi/index.adoc @@ -81,13 +81,13 @@ No description provided (generated by Openapi Generator https://github.com/opena | <> -| 401 -| Not Authorized +| 403 +| Not Allowed | <<>> -| 403 -| Not Allowed +| 401 +| Not Authorized | <<>> |=== @@ -315,13 +315,13 @@ endif::internal-generation[] | <> -| 401 -| Not Authorized +| 403 +| Not Allowed | <<>> -| 403 -| Not Allowed +| 401 +| Not Authorized | <<>> |=== diff --git a/service/pom.xml b/service/pom.xml index 21bec28..31d16e5 100644 --- a/service/pom.xml +++ b/service/pom.xml @@ -126,7 +126,7 @@ ${project.basedir}/src/main/resources/api/openapi.yaml - ${session.executionRootDirectory}/web/src/http/generated + ${session.executionRootDirectory}/web/src/lib/http/generated typescript-axios true false diff --git a/service/src/main/resources/api/openapi.json b/service/src/main/resources/api/openapi.json index f32d121..6ad4cc6 100644 --- a/service/src/main/resources/api/openapi.json +++ b/service/src/main/resources/api/openapi.json @@ -33,11 +33,11 @@ } } }, - "401" : { - "description" : "Not Authorized" - }, "403" : { "description" : "Not Allowed" + }, + "401" : { + "description" : "Not Authorized" } }, "security" : [ { @@ -102,11 +102,11 @@ } } }, - "401" : { - "description" : "Not Authorized" - }, "403" : { "description" : "Not Allowed" + }, + "401" : { + "description" : "Not Authorized" } }, "security" : [ { diff --git a/service/src/main/resources/api/openapi.yaml b/service/src/main/resources/api/openapi.yaml index 3b14f63..4e66ac4 100644 --- a/service/src/main/resources/api/openapi.yaml +++ b/service/src/main/resources/api/openapi.yaml @@ -25,10 +25,10 @@ paths: application/json: schema: $ref: '#/components/schemas/AuthResult' - "401": - description: Not Authorized "403": description: Not Allowed + "401": + description: Not Authorized security: - SecurityScheme: [] /api/auth/signin: @@ -69,10 +69,10 @@ paths: application/json: schema: $ref: '#/components/schemas/Hello' - "401": - description: Not Authorized "403": description: Not Allowed + "401": + description: Not Authorized security: - SecurityScheme: [] components: diff --git a/tools/api/.openapi-generator/openapi.yaml-jetbrains-http-client.sha256 b/tools/api/.openapi-generator/openapi.yaml-jetbrains-http-client.sha256 index f7c7f2f..e1b93e7 100644 --- a/tools/api/.openapi-generator/openapi.yaml-jetbrains-http-client.sha256 +++ b/tools/api/.openapi-generator/openapi.yaml-jetbrains-http-client.sha256 @@ -1 +1 @@ -2a60639c3f8b298068a52df302a54d686029f1e6b5190b0adc2299e375aa1892 \ No newline at end of file +61afb69e36ed22dad34196d1f1bcaf0ee76844e96a615ba8d745ade634223fa6 \ No newline at end of file diff --git a/web/src/http/generated/.openapi-generator/VERSION b/web/src/http/generated/.openapi-generator/VERSION deleted file mode 100644 index 4be2c72..0000000 --- a/web/src/http/generated/.openapi-generator/VERSION +++ /dev/null @@ -1 +0,0 @@ -6.5.0 \ No newline at end of file diff --git a/web/src/http/generated/.openapi-generator/openapi.yaml-axios.sha256 b/web/src/http/generated/.openapi-generator/openapi.yaml-axios.sha256 deleted file mode 100644 index f7c7f2f..0000000 --- a/web/src/http/generated/.openapi-generator/openapi.yaml-axios.sha256 +++ /dev/null @@ -1 +0,0 @@ -2a60639c3f8b298068a52df302a54d686029f1e6b5190b0adc2299e375aa1892 \ No newline at end of file diff --git a/web/src/lib/http/generated/.gitignore b/web/src/lib/http/generated/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/web/src/lib/http/generated/.npmignore b/web/src/lib/http/generated/.npmignore new file mode 100644 index 0000000..e69de29 diff --git a/web/src/lib/http/generated/.openapi-generator-ignore b/web/src/lib/http/generated/.openapi-generator-ignore new file mode 100644 index 0000000..e69de29 diff --git a/web/src/http/generated/.openapi-generator/FILES b/web/src/lib/http/generated/.openapi-generator/FILES similarity index 100% rename from web/src/http/generated/.openapi-generator/FILES rename to web/src/lib/http/generated/.openapi-generator/FILES diff --git a/web/src/lib/http/generated/.openapi-generator/VERSION b/web/src/lib/http/generated/.openapi-generator/VERSION new file mode 100644 index 0000000..e69de29 diff --git a/web/src/lib/http/generated/.openapi-generator/openapi.yaml-axios.sha256 b/web/src/lib/http/generated/.openapi-generator/openapi.yaml-axios.sha256 new file mode 100644 index 0000000..e69de29 diff --git a/web/src/lib/http/generated/api.ts b/web/src/lib/http/generated/api.ts new file mode 100644 index 0000000..e69de29 diff --git a/web/src/lib/http/generated/base.ts b/web/src/lib/http/generated/base.ts new file mode 100644 index 0000000..e69de29 diff --git a/web/src/lib/http/generated/common.ts b/web/src/lib/http/generated/common.ts new file mode 100644 index 0000000..e69de29 diff --git a/web/src/lib/http/generated/configuration.ts b/web/src/lib/http/generated/configuration.ts new file mode 100644 index 0000000..e69de29 diff --git a/web/src/lib/http/generated/git_push.sh b/web/src/lib/http/generated/git_push.sh new file mode 100644 index 0000000..e69de29 diff --git a/web/src/lib/http/generated/index.ts b/web/src/lib/http/generated/index.ts new file mode 100644 index 0000000..e69de29