Skip to content

Commit 3b227fe

Browse files
committed
simpler example
1 parent 43a4d01 commit 3b227fe

1 file changed

Lines changed: 2 additions & 14 deletions

File tree

docs/modules/ROOT/pages/processor/server-url.adoc

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,10 @@ info:
1717
version: 1.0.0
1818
1919
servers:
20-
- url: "{schema}://{host}:{port}/{path}/v{version}"
20+
- url: "https://openapiprocessor.io/{path}"
2121
variables:
22-
schema:
23-
default: https
24-
enum:
25-
- https
26-
- http
27-
host:
28-
default: openapiprocessor.io
29-
port:
30-
default: "443"
3122
path:
3223
default: api
33-
version:
34-
default: "1"
35-
3624
# ...
3725
----
3826

@@ -50,7 +38,7 @@ it will generate a simple resource properties file with a single property `opena
5038
[source,properties]
5139
----
5240
# api.properties
53-
openapi.base.path = /api/v1
41+
openapi.base.path = /api
5442
----
5543

5644
If there are multiple servers its index can be used to select it:

0 commit comments

Comments
 (0)